bzbarsky%mit.edu
47c119bdef
CheckLoadURI should use document uri, not base uri. Bug 177237,
...
r=mstoltz, sr=jst, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@132995 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu
eb403a9137
Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa
...
git-svn-id: svn://10.0.0.236/trunk@132707 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 14:31:32 +00:00
bzbarsky%mit.edu
b936f80095
Margin/padding computations need to flush the reflow queue. Bug 173354,
...
r=caillon, sr=heikki, a=asa.
git-svn-id: svn://10.0.0.236/trunk@132066 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:38:52 +00:00
dbaron%fas.harvard.edu
b3d24bd19b
OK, over from snprintf to PR_snprintf. b=173837
...
git-svn-id: svn://10.0.0.236/trunk@132005 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
37dfe04a81
Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837
...
git-svn-id: svn://10.0.0.236/trunk@132004 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
7f403370a5
Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup
...
git-svn-id: svn://10.0.0.236/trunk@132001 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
521000f98f
Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup
...
git-svn-id: svn://10.0.0.236/trunk@131998 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu
795925d5f4
Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup
...
git-svn-id: svn://10.0.0.236/trunk@131997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:49:48 +00:00
bzbarsky%mit.edu
505d37753e
Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
...
sr=dbaron, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131920 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 18:55:12 +00:00
bzbarsky%mit.edu
10a3e31964
Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
...
r=caillon, sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131844 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 23:46:11 +00:00
heikki%netscape.com
5bee27e8e8
Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu
8e9f040f59
Make GetImportantRule and GetISupportsValue return already_AddRefed.
...
Bug 171808, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@131534 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
a70a392a2c
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
0f7366d6d0
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
a8ebb4c9a5
Attempt to fix mach-o bustage. b=172207
...
git-svn-id: svn://10.0.0.236/trunk@131382 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:58:32 +00:00
caillon%returnzero.com
1c8e700439
Attempting to fix Windows bustage
...
git-svn-id: svn://10.0.0.236/trunk@131369 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:03:56 +00:00
caillon%returnzero.com
ea24d37b22
More footprint work; Axing the large switch statement in GetPropertyCSSValue()
...
bug 172207 r=bzbarsky sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131356 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:53:31 +00:00
caillon%returnzero.com
6476611c63
Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
...
r=dbaron sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131084 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 19:41:42 +00:00
dbaron%fas.harvard.edu
90deda8fc9
Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@131041 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 01:02:13 +00:00
dbaron%fas.harvard.edu
34cc78c36a
Don't prevent 'display: none' from working on generated content by being overzealous with CSS2 12.1 'display' fixups. At suggestion of Mats Palmgren, split code path between CSS2 9.7 fixups and CSS2 12.1 fixups since the former can't affect generated content and the latter apply only to generated content. r=bzbarsky and mats.palmgren sr=kin b=171749
...
git-svn-id: svn://10.0.0.236/trunk@131037 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 00:42:16 +00:00
caillon%returnzero.com
4705b76733
171785. Using new CSS_PROP_NOTIMPLEMENTED macro. This should have gone in with the patch to bug 117500 but somehow was left out.
...
r=dbaron sr=kin/jst
git-svn-id: svn://10.0.0.236/trunk@130848 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:13:55 +00:00
dbaron%fas.harvard.edu
6bf02d19fa
Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
...
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
dbaron%fas.harvard.edu
0aaa1704e7
Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@130797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:18:27 +00:00
roc+%cs.cmu.edu
e25496d35f
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
f2d14853a0
Back out bug 167236 due to regressions 171214 and 171465
...
git-svn-id: svn://10.0.0.236/trunk@130791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 10:22:06 +00:00
jkeiser%netscape.com
8697a6f032
Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
...
git-svn-id: svn://10.0.0.236/trunk@130707 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 02:55:24 +00:00
darin%netscape.com
e56625b347
fixes bug 170789 "HTTP Accept: header should be tailored to context of the
...
request" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@130569 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 04:22:13 +00:00
jkeiser%netscape.com
d59bc1b4f8
Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
...
git-svn-id: svn://10.0.0.236/trunk@130554 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 00:04:22 +00:00
caillon%returnzero.com
36e93f89dd
Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
...
r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@130500 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:46:50 +00:00
darin%netscape.com
8fa070e5cd
fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
...
for freezing" r=dougt sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@130442 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:28:53 +00:00
hyatt%netscape.com
f4af415247
More 169373 goodness.
...
git-svn-id: svn://10.0.0.236/trunk@130232 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 05:38:30 +00:00
hyatt%netscape.com
231ada71e5
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
...
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
alecf%netscape.com
0a6fd820f0
re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
...
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
git-svn-id: svn://10.0.0.236/trunk@129778 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 04:49:28 +00:00
dbaron%fas.harvard.edu
2e1a7eb839
Give LABEL element a pointer cursor. b=158043 r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@129700 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 14:15:58 +00:00
karnaze%netscape.com
e5afbfa65b
bug 139524 - handle style of col's with spans. sr=kin, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@129634 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu
f700bdbb39
Fix an edge case in color-parsing correctness. Bug 154755, r=glazman,
...
sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@129595 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 05:28:26 +00:00
jkeiser%netscape.com
b43245e234
Make input type=hidden style="display: inline" not show artifacts from input type=text (bug 166438), r=rods@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@129563 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 21:30:11 +00:00
caillon%returnzero.com
656972473a
167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
...
r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@129297 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:57:02 +00:00
bzbarsky%mit.edu
3027587244
Make <button> align sorta like <input type="button"> does vertically.
...
Bug 162573, patch by dbaron, r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@129203 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:12:24 +00:00
bzbarsky%mit.edu
a5718fc9e5
negative border widths are not legal in CSS. bug 167657, r=glazou,
...
sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@129189 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:47:25 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jst%netscape.com
33a6176ec5
Whitespace cleanup, no code changes. r/sr/a=me!
...
git-svn-id: svn://10.0.0.236/trunk@129023 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 01:48:39 +00:00
rbs%maths.uq.edu.au
1a1ddda1e4
Slight iteration on bug 163785 to gain perf
...
git-svn-id: svn://10.0.0.236/trunk@128797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 02:31:46 +00:00
caillon%returnzero.com
e66f7c706d
Remove an unneeded check: unsigned ints are always >= 0.
...
Bug 166364; r=sicking; sr=jst
git-svn-id: svn://10.0.0.236/trunk@128791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 02:15:35 +00:00
dbaron%fas.harvard.edu
e5167cdc5d
Fix regression in graying of disabled radio buttons and checkboxes. b=164484 r=bbaetz sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@128782 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:39:19 +00:00
rbs%maths.uq.edu.au
015d412b98
Minimum font-size wasn't working if no font props was specified, b=163785, r=dbaron, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@128778 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:55:48 +00:00
bzbarsky%mit.edu
d8011d3ad6
Do not inherit text-transform into inputs and textareas. Bug 150341,
...
r=glazman, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@128613 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 04:38:57 +00:00
axel%pike.org
6f2a873b95
fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
...
git-svn-id: svn://10.0.0.236/trunk@128334 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
8b530edf64
Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
...
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream. Use this in the CSSLoader instead of
allocating a single big buffer for the sheet. Clean up the way we look
for the @charset charset in the sheet data.
r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
git-svn-id: svn://10.0.0.236/trunk@128310 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:47:25 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00