Commit Graph

99 Commits

Author SHA1 Message Date
Boris Zbarsky
4ecb7006bd Bug 531933. Give HasStateDependentStyle a better signature. r=dbaron 2009-12-11 22:36:34 -08:00
L. David Baron
4ee286e827 Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
e7a6826d71 Bug 525952 part 4. Use the new pseudoclass enum in IsStateSelector and SelectorMatches. r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
b113c5b09c Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
0fd4e231a6 Bug 525608 part 8. Reorder the cases in AddRule in order of likelihood. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
4a2975a003 Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
5ea79b4acb Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
6b4f1d994c Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
414b184d55 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
8f5e928be3 Bug 525952 part 4. Use the new pseudoclass enum in IsStateSelector and SelectorMatches. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
88da9222b1 Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
5b9e769f0b Bug 525608 part 8. Reorder the cases in AddRule in order of likelihood. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
7b8acbcaf3 Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
a784f30c6a Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
bdb94e5fc6 Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
e6128a1572 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
129197fdc7 Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
9dc3b4cdd3 Bug 523294 part 1. Change the signature of HasAttributeDependentStyle. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
f437bbbd4c Bug 523288 part 3. Do a bit less work still in the RuleProcessorData constructor. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
368b43c231 Bug 523288 part 2. Get link state and content state lazily. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
c993848554 Bug 523288 part 1. Move matching on id and class to right after matching on tag in SelectorMatches. r=dbaron 2009-12-10 14:36:02 -08:00
L. David Baron
7c16cf86f8 Add comment about additional place new system metrics should be added. 2009-10-17 10:31:47 -04:00
L. David Baron
30ac481d4d Add media queries for all of our system metrics exposed in :-moz-system-metric(). (Bug 522149) r=bzbarsky 2009-10-15 17:23:19 -07:00
L. David Baron
87dadf6778 Put :-moz-system-metric values in nsGkAtoms. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
Boris Zbarsky
aa6dadf4c4 Bug 520421. HasAttributeDependentStyle is broken on HTML for cased attribute selectors. r=dbaron 2009-10-12 12:27:51 -04:00
jhorak@redhat.com
6dd5a51f91 Bug 509671 - Remove icons from buttons due to Gnome changes. r=roc,gavin 2009-10-06 16:20:59 +02:00
Mark Finkle
5431eed7c0 Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc 2009-10-04 21:31:26 -04:00
Nochum Sossonko
33de430128 Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron 2009-10-02 08:22:18 +02:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Zack Weinberg
c62f969ab1 Bug 511147: Avoid the slow greedy-operator path for A > B ~ C selectors. r=dbaron 2009-08-20 14:52:47 -07:00
Felipe Gomes
30a32157e7 Bug 503042 - Implement a way to detect a touch enabled device. r=vlad, sr=dbaron 2009-08-10 19:59:06 -07:00
David Zbarsky
8c97ee0a3d Bug 507487: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 2: fix RuleHash to hash tag selectors twice when needed. r=dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
a24f75b42e Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
L. David Baron
36c7b60c0c Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
David Zbarsky
eab4105f16 Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Neil Deakin
5303f25260 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Peter Van der Beken
ed0899f1ce Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Arpad Borsos
5b33bf7a38 Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron 2009-05-13 10:26:48 +02:00
Boris Zbarsky
4a887e84bf Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron 2009-03-10 09:51:34 -04:00
L. David Baron
3221bf3c26 I don't need to see the rule hash debugging output anymore. 2009-02-24 16:14:46 -08:00
Michael Ventnor
a9bf64c109 Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00