Commit Graph

474 Commits

Author SHA1 Message Date
Zack Weinberg
4289c703bf 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
afa8c11ca1 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
7d62ce6339 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
f0fb6a73b7 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
53dc5ba228 Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky 2009-08-01 08:53:40 -07:00
L. David Baron
76433f1381 Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
David Zbarsky
c69e697fad Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Neil Deakin
5cc1ab5ff7 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
4c0938621b Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron. 2009-07-13 13:48:06 +02:00
Henri Sivonen
e624faee4d 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
471e3e73c0 Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron 2009-05-13 10:26:48 +02:00
Boris Zbarsky
f950bcdf6d 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
4fa600ff7a I don't need to see the rule hash debugging output anymore. 2009-02-24 16:14:46 -08:00
Michael Ventnor
7964f8ad1e Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky 2009-02-11 14:19:37 +13:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
79c71131a8 Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
John Daggett
7615338769 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
L. David Baron
828bdaa11a Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
e9dd8061a0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
3c80bfb76d Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
c4710e88e5 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
John Daggett
2fe1318584 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Mats Palmgren
99078c625a Bug 461239. Be a bit more careful with unsigned arithmetic. r+sr=bzbarsky 2008-10-29 13:40:04 -07:00
L. David Baron
6a4eb5ac8d Add a preference for visited link support. (Bug 147777) r+sr=bzbarsky 2008-10-21 09:15:03 +02:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
L. David Baron
f9b00f10b4 Fix warnings about CascadeSheetRulesInto being declared but not defined. (Bug 458813) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
John Daggett
6e43b8783a Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Markus Stange
3f5a23c262 Bug 448767 - Add -moz-system-metric(mac-graphite-theme), r=vlad sr=dbaron 2008-09-17 18:23:58 +02:00
Boris Zbarsky
16b9d15c51 Bug 183348. Fix cloning of sheets with @import rules. Also fixes bug 290018, bug 436261, bug 444723, bug 445415. r+sr=dbaron 2008-09-09 14:08:11 -04:00
Dave Townsend
ebec010b7f Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
Boris Zbarsky
6eabf8f654 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
Serge Gautherie
897b07160c Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString| in RuleProcessorData, r+sr=dbaron 2008-08-28 17:38:34 +02:00
Kai Liu
f040964d06 Allow theme CSS to distinguish between themed and non-themed in Windows - bug 431666 r=vlad r=dbaron 2008-08-18 10:33:08 -07:00
Boris Zbarsky
fdd3a3dc73 Bug 449447. Reuse the caching GetNthIndex for first/last/onlyChild selectors 2008-08-18 12:47:12 -04:00
Rob Arnold
5e2a617c8a Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
L. David Baron
9f72dac0c5 Only rebuild rule cascades on medium feature change if they've already been built before. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
Rob Arnold
2e4fe925a0 -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
e84914bac8 Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
fc42f08dde Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Boris Zbarsky
1715267a4e Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Boris Zbarsky
697041139d :root should only match the documentElement, not random nodes in
disconnected fragments.  Bug 422868, r+sr=dbaron
2008-07-11 17:01:22 -04:00
Michael Ventnor
c8b33bc4f6 Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron 2008-06-10 17:27:00 -07:00
L. David Baron
3d4467d522 Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
4eef8e5600 Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron
41643c4a72 Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman
02d99ce919 Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
140422fa4f Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
fb349fe126 Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
1d6443bcab Bug 426660 - "Allow Firefox themes to change based on the OS theme" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari [ehsan]) r=vlad sr=dbaron a=blocking1.9+] 2008-04-08 11:36:53 -07:00
7af6f958fc Fix greediness of A ~ B C selector matching. b=420814 r+sr=bzbarsky a=beltzner 2008-03-05 16:06:15 -08:00