dbaron%dbaron.org
68981b901b
Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147100 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-21 05:21:40 +00:00
dbaron%dbaron.org
c997dd0ad0
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
dbaron%dbaron.org
2f071d5ceb
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146845 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:18:52 +00:00
bsmedberg%covad.net
1b71e7ac3e
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
978d05c917
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
edbe6382af
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@145875 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:16:48 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
rbs%maths.uq.edu.au
e320553e23
Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145578 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:07:14 +00:00
bzbarsky%mit.edu
feff597227
Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145404 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:45:34 +00:00
caillon%returnzero.com
c8612ff038
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
67e7a64c5d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
f24d69bc30
Fix assertion from bug 211470, rs=bz
...
git-svn-id: svn://10.0.0.236/trunk@145261 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3ae54818a4
Forgot a review nit from bug 211470.
...
git-svn-id: svn://10.0.0.236/trunk@145254 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
2c2c23dd44
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@145253 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:20:11 +00:00
bzbarsky%mit.edu
b9c67ee584
Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145213 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
fe3b50c34c
Remove unused variable.
...
git-svn-id: svn://10.0.0.236/trunk@145181 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
b878645544
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com
e9505aff6f
Fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@144993 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
40f122a577
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
7111a9cc92
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@144939 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
e69f301e32
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
7c1787f026
Make the URI of a sheet be its final URI after all the redirects, not the URI
...
linked to from the original document. Bug 96858, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144934 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 00:35:49 +00:00
jaggernaut%netscape.com
36ab3d76a9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
794f9a036b
A little selector matching cleanup. b=212603 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144806 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 23:09:10 +00:00
dbaron%dbaron.org
593f58592d
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
401c86df69
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144730 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:44:25 +00:00
dbaron%dbaron.org
d07c6d44c8
Attempt to fix warning by ensuring one path is always used, even for invalid ids. b=210550 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144729 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:42:59 +00:00
dbaron%dbaron.org
3ca89119fb
Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144620 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu
43571b323e
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
git-svn-id: svn://10.0.0.236/trunk@144613 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 01:48:20 +00:00
jaggernaut%netscape.com
c1af69edae
Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@144557 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 11:49:48 +00:00
bzbarsky%mit.edu
09f28701f9
Update comments to reflect the fact that there is no longer a change hint
...
passed to the macros.
git-svn-id: svn://10.0.0.236/trunk@144553 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 07:12:17 +00:00
bzbarsky%mit.edu
6e73f4e272
This line should not have snuck in.
...
git-svn-id: svn://10.0.0.236/trunk@144535 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
4f63a75a74
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
1c3e765c18
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144457 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
071d3b4a75
Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
...
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968). Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug). Patch in bug 62843. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144455 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 01:33:10 +00:00
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
dbaron%dbaron.org
9f2fb7fb4a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144408 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
c39b29646d
Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144396 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
d05edb9f6b
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@144331 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
7fdc969a1d
Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144305 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
1686c6d5b3
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144302 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
d2387d2402
Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144300 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 21:31:25 +00:00
dbaron%dbaron.org
9887e2a116
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@144225 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 21:06:45 +00:00
dbaron%dbaron.org
b868e5ce74
Fix windows bustage. b=188803
...
git-svn-id: svn://10.0.0.236/trunk@144089 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
3bdd5c558b
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144087 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
9b0895c752
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144086 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:34:30 +00:00
bzbarsky%mit.edu
600f1dae13
Fix matching when attribute selectors with "*" as a namespace are involved.
...
Bug 210314, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144083 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
fe3f1277a3
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00