Nicholas Nethercote
3dfcbc63dd
Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately (2nd attempt). r=dbaron.
2012-03-19 01:39:15 -07:00
Nicholas Nethercote
16581e0615
Backed out changeset c880f229fbf5 (bug 712865) due to build bustage. r=me.
2012-03-18 22:53:20 -07:00
Nicholas Nethercote
f41e79828f
Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately. r=dbaron.
...
--HG--
extra : rebase_source : 83dc6eff5e5500fa0dffc0e07d731941ee9e8122
2012-03-18 16:28:08 -07:00
Atul Aggarwal
b3481e15f3
Bug 536758 - window.getComputedStyle().lineHeight to skip font size ratio adjustment for minimum font size when font sizes are 0. r=dbaron
2011-11-01 12:36:50 +05:30
John Daggett
47ad96505d
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
914cbcc71a
Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz
2012-03-16 12:31:01 +09:00
Daniel Holbert
5b18ef48e8
(no bug) Fix alignment of member vars mClip, mClipFlags in nsStyleDisplay class definition. whitespace-only, DONTBUILD
2012-03-15 18:13:08 -07:00
Jonathan Kew
789760b675
bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett
2012-03-15 09:04:46 +00:00
Boris Zbarsky
8639633f44
Bug 735481. Skip ancestor filtering on IDs and classes in quirks mode, because that matching needs to be case-insensitive. r=dbaron
2012-03-14 00:44:13 -05:00
Boris Zbarsky
09fd9002b2
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
ea00c15230
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
0b53563082
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
0ebd88f49f
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
Phil Ringnalda
47dd3c842e
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
82ab90bd3f
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
a45e55e1a6
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
2b015eb44c
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
23845b8aec
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
Matt Woodrow
3cb6f0db4e
Bug 730166 - Mark frames with a hidden backface as transformed. r=roc
2012-03-12 15:03:29 +13:00
Jacob Holzinger
86f648606c
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Makoto Kato
8e7fa7d23a
Bug 590390 - deCOM nsICharsetAlias. r=smontagu
...
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Nicholas Nethercote
29ca78c292
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
L. David Baron
10d96c7e70
Hold on to MediaQueryList objects that have listeners so that notification doesn't depend on GC timing. (Bug 716751) r=bzbarsky
...
Note: This also fixes a crash (when notifications happen) from
calling mql.addListeners(null).
This also fixes test_media_query_list.html so that the initial set of
tests doesn't keep running through the later tests.
The test for the null-dereference has been confirmed to crash without
the patch and pass with the patch.
The test for the gc issue has been confirmed to fail without the patch
and pass with the patch.
2012-02-29 20:47:55 -08:00
David Bolter
38d7fde319
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley
d9eda11faf
Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange
2012-02-29 18:42:58 +00:00
David Bolter
28fe167db3
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Lazar Sumar
e95d85b3d7
Bug 548375 - Add tests for background-repeat taking two values (css3-background). r=dbaron
2012-02-24 21:23:14 -08:00
Lazar Sumar
6fbab0b473
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
L. David Baron
1162620b35
Remove the CSS2Properties aliases for MozOutline* and MozOpacity for CSS properties whose CSS aliases were removed long ago (but temporarily readded in the previous changeset). (Bug 730532, patch 2) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
1b2b92f0f9
Add a header file for CSS property aliases (and temporarily resurrect the aliases whose DOM properties we forgot to remove). (Bug 730532, patch 1) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
c4c9be9f57
Make nsStyleCoord's member variables private, as they should have been. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
34e39a08bc
Depend on assignment and copy construction of unions in nsStyleCoord. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
Zack Weinberg
dc30af584b
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Lazar Sumar
7aecc893d8
Bug 729126 - Make NS_ABORT_IF_FALSE fire on failure for only some callers of AddCSSValuePixelPercentCalc (the existing ones, and not the new ones added in bug 522607). r=dbaron
2012-02-23 11:40:41 +13:00
L. David Baron
ca97f3621e
Drop support for -moz-box-shadow and -moz-border-radius-* now that we've supported the unprefixed versions since Firefox 4. (Bug 693510) r=bzbarsky
2012-02-22 14:14:52 -08:00
Zack Weinberg
9c593e5cd7
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -08:00
William Chen
556f9b36ce
Bug 522607 - Tests for new css3-background background-position syntax. r=dbaron
2012-02-20 12:16:11 +13:00
Lazar Sumar
5958307819
Bug 522607 - New css3-background background-position syntax. r=dbaron
2012-02-20 13:14:42 +13:00
Jonathan Watt
b6f2456346
Bug 721920 - Honor the 'lang' and 'xml:lang' attributes in SVG as we do in HTML. r=bz.
2012-02-19 20:49:34 +00:00
Jonathan Watt
b84e0cbe12
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Andrew McCreight
daba4f3655
Bug 727625 - remove childless nsDOMCSSAttributeDeclaration from the purple buffer. r=smaug
2012-02-16 08:45:19 -08:00
Aryeh Gregor
5830e4bae8
Bug 724750 - 3D transform backface-visibility has no effect when applied to an element with display:table. r=roc
...
--HG--
rename : layout/reftests/transform-3d/backface-visibility-1b.html => layout/reftests/transform-3d/backface-visibility-1c.html
extra : rebase_source : 8e878d9729f49b3adc0107b6760f618b8025f390
2012-02-16 14:30:34 +01:00
Aryeh Gregor
77160ffd5a
Bug 655478 - CSSStyleDeclaration.setProperty shouldn't require the third parameter to be set; r=bzbarsky
...
--HG--
extra : rebase_source : 131b879a0190c1979ee563cc102b5a548bf6986d
2012-02-15 16:31:40 -05:00
Andrew McCreight
0d2821a82c
Bug 726331 - remove childless nsComputedDOMStyles from the purple buffer. r=smaug
2012-02-15 15:29:53 -08:00
Aryeh Gregor
cd491d4c50
Bug 721136 - transform property serialization doesn't normalize case; r=dbaron
2012-02-13 16:23:15 -05:00
Aryeh Gregor
a4fd88b30a
Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron
2012-02-14 10:54:08 -05:00
Jesse Ruderman
b6750e189e
Bug 726465 - Add eCSSUnit_Turn case to nsCSSValue::SizeOfExcludingThis. r=bz
2012-02-12 17:51:58 -08:00
Aryeh Gregor
4d601b2fb2
Bug 722777 - Tables with 'transform' property set don't act as abs-pos/fixed-pos containers; r=roc
...
--HG--
rename : layout/reftests/transform/abspos-1a.html => layout/reftests/transform/abspos-1f.html
rename : layout/reftests/transform/abspos-1b.html => layout/reftests/transform/abspos-1g.html
2012-02-10 21:05:00 +00:00
Aryeh Gregor
b65988ddb6
Bug 719446 - getComputedStyle().MozTransform shouldn't have "px" in it; r=roc
2012-02-10 21:04:59 +00:00