Boris Zbarsky
4de57bccc9
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
c3ed68f368
Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
f593cd5e83
Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
e9f9272eeb
Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
...
We store a maximum of 4 hashes to save space. Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags. In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Zack Weinberg
f4fb4a1991
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Heather Arthur
580e841242
Bug 708874 - API for locking pseudo-class state of an element. r=bz
2012-02-08 10:42:38 -08:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nicholas Nethercote
0089711fa7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Boris Zbarsky
293c6cddef
Bug 700914. Initialize the rulehash's hashtables lazily. r=dbaron
2011-12-09 05:29:01 -05:00
Nicholas Nethercote
8ea852b335
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Boris Zbarsky
5da1a0cc40
Bug 689443. Switch PerWeightData back to using linked lists instead of arrays for the actual per-weight rule data, so as to reduce fragmentation. r=dbaron
...
This incidentally fixes a bug where we were copying the per-weight data very inefficiently.
2011-12-08 01:32:11 -05:00
Boris Zbarsky
8582f44c33
Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron
2011-12-05 23:58:15 -05:00
Ed Morley
5db488079f
Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz
2011-11-14 18:10:22 +00:00
David Zbarsky
1475029a2d
Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky
2011-11-14 16:30:28 +13:00
David Zbarsky
3cf667fd11
Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky
2011-11-14 16:30:22 +13:00
David Zbarsky
1e9e43f12d
Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky
2011-11-14 16:30:16 +13:00
David Zbarsky
87c926f7b6
Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky
2011-11-14 16:30:08 +13:00
David Zbarsky
dd2d24bcbf
Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky
2011-11-14 16:29:56 +13:00
David Zbarsky
52ccc4cb61
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Daniel Holbert
8ded9164c4
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Olli Pettay
2c2da3099f
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Boris Zbarsky
46d661d94c
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-10-05 22:06:37 -04:00
Justin Lebar
9e403ddbf6
Back out 81ca82f27831 (bug 681755) due to incorrect leak reporting.
...
(I accidentally pushed the wrong version of this patch.)
2011-10-05 22:02:44 -04:00
Boris Zbarsky
eb19b99546
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-09-15 15:21:52 -07:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Masayuki Nakano
e848ae236f
Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron
2011-09-09 11:27:12 +09:00
Markus Stange
e13a330778
Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron
2011-08-18 10:40:27 +02:00
arno renevier
56a37f401e
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
Kyle Huey
a85e3221a8
Bug 676314: Count RuleHash's mArena in about:memory. r=bz
2011-08-08 08:36:38 -04:00
Kyle Huey
1d840861fa
Bug 676048: Followup to add more comments.
2011-08-08 08:34:57 -04:00
Boris Zbarsky
60ea673f0b
Bug 676174. Remove the unncessary RuleHash_CSMatchEntry and resulting complications from AtomSelector_CSOps. r=dbaron
2011-08-07 22:23:36 -04:00
Boris Zbarsky
14079ef330
Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron
2011-08-03 14:32:32 -04:00
Kyle Huey
6d99373717
Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz
2011-08-02 16:21:52 -04:00
Kyle Huey
8b23d8f061
Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz
2011-08-01 14:25:20 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
1b406143bc
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Boris Zbarsky
a66e7f8073
Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
...
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
b5bc3817ce
Bug 598833 part 7. Make IntrinsicState protected. r=smaug
2011-05-31 21:46:57 -04:00
Boris Zbarsky
a63c9fb554
Bug 598833 part 6. Get rid of nsEventStateManager::GetContentState. r=smaug
2011-05-31 21:46:56 -04:00
Masayuki Nakano
4a5030c91a
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Masayuki Nakano
caee4cc73f
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Boris Zbarsky
3e2fc385a6
Bug 529750 part 3. Switch nsRuleWalker to only calling GetImportantRule on CSS StyleRules. r=dbaron
2011-05-23 16:45:44 -04:00
Craig Topper
c3d4c659c7
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
L. David Baron
3b5f6cea92
Reduce scope of :hover quirk: make it apply normally if it has a class selector, and be quirky (only apply to links) only when actually global. (Bug 197686) r=bzbarsky
2011-04-22 18:36:24 -07:00
David Zbarsky
a0b813679f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Boris Zbarsky
21298d6c2c
Bug 645491 part 2. Speed up changes to id attributes on pages with lots of id selectors. r=dbaron
...
The basic idea is to only match against id selectors which might matter by keeping track of them in a hashtable instead of a flat list. We still need to use a flat list for possibly-negated id selectors, unfortunately.
2011-04-12 19:57:48 -07:00
Boris Zbarsky
bc1513cc89
Bug 645491 part 1. Rename ClassSelector to AtomSelector. r=dbaron
...
We're going to use this same data structure for id selectors too, so the old name doesn't make sense any more.
2011-04-12 19:57:42 -07:00
L. David Baron
d177e3432d
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
914379bb82
Add support for cascading of keyframes rules. (Bug 435442, patch 6) r=bzbarsky
2011-04-11 23:18:43 -07:00
Craig Topper
3265d1070e
Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky
...
--HG--
rename : layout/style/nsICSSGroupRule.h => layout/style/GroupRule.h
2010-08-07 22:28:33 -07:00
Boris Zbarsky
fbfff8a404
Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
bc9f691318
Bug 598832 part 14. Make RuleProcessorData a stack-only class. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
7a803c365b
Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
b65ed4354f
Bug 598832 part 12. Stop using RuleProcessorData in SelectorMatchesTree. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
d48e457cc2
Bug 598832 part 11. Stop caching the parent content pointer and the element pointer; just use the passed-in aElement. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
22bd1cff27
Bug 598832 part 10. Stop caching information about the element's attributes; just get it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
2e4df29640
Bug 598832 part 9. Stop caching the element's local name; just get it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
69b3dc14e0
Bug 598832 part 8. Move NodeMatchContext higher up the callstack, so that we don't have to call IsLink as much. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
b7cf0b4cf6
Bug 598832 part 7. Stop caching the content state of elements; just reget it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
be4156dd55
Bug 598832 part 6. Stop caching the language of elements; just reget it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
3b5cba5436
Bug 598832 part 5. Move caching of nth-index stuff to the TreeMatchContext. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
8d93a3554b
Bug 598832 part 4. Move tracking of whether we're in quirks mode to the TreeMatchContext. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
206e01b948
Bug 598832 part 3. Stop keeping track of whether the node or document is HTML in the RuleProcessorData. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
a691fa82b9
Bug 598832 part 2. Move tracking of the scope root to the TreeMatchContext. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
4e6bf4af7c
Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron
2011-03-29 13:29:20 -04:00
Craig Topper
678b9c7c11
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Boris Zbarsky
a5dd83ec8b
Bug 608759. Stop calling ContentEnumFunc through a function pointer; just call it directly. r=dbaron
2011-03-07 12:45:25 -05:00
Boris Zbarsky
cbc1af6201
Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron
2011-02-24 13:42:15 -05:00
Boris Zbarsky
5579a836d1
Bug 631352. Changes to @lang need to restyle all descendants. r=dbaron, a=blocker
2011-02-08 16:30:57 -05:00
Mounir Lamouri
06426cc202
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Jim Mathies
55b9f24b32
Bug 543910 - Layout support for -moz-windows-theme. r=dbaron, a=final.
2010-10-09 15:53:45 -05:00
L. David Baron
54958ef33a
Add a selector hack so that we can implement table border styles compatibly in CSS. (Bug 539880) Test by Geoff Lankow <geoff@darktrojan.net>. r=bzbarsky a2.0=blocking2.0:betaN
2010-10-06 21:25:47 -07:00
Kyle Huey
65b4e6c0c6
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
2010-08-02 15:19:04 -07:00
Craig Topper
cdca710a52
Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
2c93240c8e
DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Kyle Huey
02f6c3eb51
Backed out changeset 9e87c3efc33b
2010-07-29 16:01:41 -07:00
Kyle Huey
330a1072b2
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
...
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Craig Topper
7bc0610614
Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz
2010-07-18 23:20:40 +02:00
Craig Topper
9855496f0b
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
2010-07-18 16:39:20 +02:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6e287b8de2
Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao
2010-07-17 10:11:54 +02:00
Boris Zbarsky
1376944f84
Bug 576658. Simplify AppendRuleToTagTable. r=dbaron
2010-07-08 09:50:18 -07:00
Boris Zbarsky
35ac88e284
Bug 576136. Use arrays of rulevalues, not linked lists, for slightly better cache locality. r=dbaron
2010-07-02 16:56:09 -04:00
Benjamin Smedberg
a677e5bf91
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
c89bc5321c
Bug 573739 - Don't get the private browing service during layout module initialization: delay until profile-after-change.
2010-06-22 12:59:57 -04:00
Boris Zbarsky
a7d7581a19
Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron
2010-06-18 12:23:05 -04:00
L. David Baron
4684f3f568
Backed out changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors.
2010-06-19 14:16:38 -07:00
Boris Zbarsky
c8d7e9da79
Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
fa30dc0437
Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
43f065f6ae
Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron
2010-06-18 12:23:05 -04:00
Markus Stange
98b0d9be1f
Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron
2010-05-31 19:49:04 +02:00
L. David Baron
86bba93f79
Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky
2010-05-14 22:01:46 -07:00
L. David Baron
76df418748
Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky
2010-05-14 22:01:45 -07:00
Craig Topper
29a342cd5f
Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron
2010-05-14 12:05:14 -07:00
Craig Topper
bd3c6ba927
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
Craig Topper
b08d6c5ef5
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Boris Zbarsky
fb534f9674
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Boris Zbarsky
3f7bc45256
Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron
2010-04-30 09:12:06 -04:00
Boris Zbarsky
9c2ad4b2aa
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Mitchell Field
f544d71a9d
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Boris Zbarsky
d6ac020246
Bug 561516. Switch from an array of function pointers to a switch to make it easier to modify this code in the future. r=dbaron
2010-04-26 16:27:01 -04:00
L. David Baron
b9449d47f3
Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
Ehsan Akhgari
43363953fd
Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks
2010-04-07 13:29:10 -04:00
Ehsan Akhgari
6f84f45be3
Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
...
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
3a0a941202
Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
77b2baaacc
Put visited handling in the tree match context. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
fa5650511b
Propagate whether we have a relevant link from rule processors to style set. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
12aeda8a30
Propagate whether we have a relevant link out of selector matching. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
179665d6ce
Introduce NodeMatchContext for additional input into SelectorMatches. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
9b0db9e924
Introduce TreeMatchContext for additional output from SelectorMatchesTree. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
Zack Weinberg
8a8adc758b
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Zack Weinberg
223c22a153
Bug 508466 part 2: In a CSS selector group, use distinct mOperator codes for the descendant combinator (' ') and the end of the chain ('\0'). r=dbaron
2010-03-31 11:08:09 -07:00
Markus Stange
21d217cfc3
Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron
2010-03-25 10:22:58 +01:00
Markus Stange
00fbecd8b0
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Markus Stange
d0207d99c6
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
4a7a64bc2e
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Ehsan Akhgari
a563c6e375
Bug 549887 - Make sure we don't crash if for some reason the layout init fails; r=dbaron
...
--HG--
extra : rebase_source : a112310d69c86f727471e2abaea31e1898f68ca1
2010-03-15 11:13:52 -04:00
Jonas Sicking
c7c7514f75
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Ehsan Akhgari
27a8c70900
Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
...
r=mconnor
r=sdwilsh
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
5a72540281
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Shawn Wilsher
f968dfb0d2
Backed out changeset bca0b6ed92e4
2010-02-18 10:02:49 -08:00
Shawn Wilsher
35bd533654
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Boris Zbarsky
dbe398c5f7
Bug 531933. Give HasStateDependentStyle a better signature. r=dbaron
2009-12-11 22:36:34 -08:00
L. David Baron
10f147165d
Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky
2009-12-11 08:13:19 -08:00
Boris Zbarsky
7c20a79598
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
537e44933f
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
0ce4669888
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
e6b913a5da
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
43f303198b
Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
a94a034494
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
430b782ab4
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
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
ed30b4065d
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
453f48a20f
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
09521a0bf2
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
88d6042335
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
bc3772ed53
Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron
2009-12-10 14:36:06 -08:00
Boris Zbarsky
ca2a7fe058
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
fbb842ae93
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
f4635e997b
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
5d3ef89b12
Bug 523294 part 1. Change the signature of HasAttributeDependentStyle. r=dbaron
2009-12-10 14:36:03 -08:00
Boris Zbarsky
43bec57640
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
66a92eee42
Bug 523288 part 2. Get link state and content state lazily. r=dbaron
2009-12-10 14:36:03 -08:00
Boris Zbarsky
13870ceba3
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
a24de14a8f
Add comment about additional place new system metrics should be added.
2009-10-17 10:31:47 -04:00