Граф коммитов

4951 Коммитов

Автор SHA1 Сообщение Дата
Kang-Hao (Kenny) Lu 8ed69c9ee3 Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron 2012-04-11 00:28:01 -07:00
Jared Wein 3fb7686724 Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao 2012-04-10 16:03:41 -07:00
Daniel Holbert 22ee3b126d Bug 742581: Make definition of nsStyleCoord::GetCoordValue() consistent with the declaration, regarding what the function's return type is. r=dbaron 2012-04-06 17:01:32 -07:00
Boris Zbarsky 6162243757 Bug 731521. Computed border on our descendants can change due to a change of our specified border styles even if our computed border did not change. r=dbaron 2012-04-05 13:14:54 -04:00
Boris Zbarsky a25824bd5d Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking 2012-04-05 13:14:54 -04:00
Josh Matthews 0a84303b99 Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron 2012-03-30 02:16:22 -04:00
L. David Baron 5b33d81ff3 Add comment explaining the difference between CSS_PROPERTY_PARSE_FUNCTION and CSS_PROPERTY_VALUE_PARSER_FUNCTION (prompted by question from jdaggett). No bug. 2012-03-29 10:16:21 -07:00
Ms2ger cd6e787733 Backout bug 722853 - changeset f40a17213344; r=orange 2012-03-26 18:41:19 +02:00
Josh Matthews 5b05bfee0b Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
--HG--
extra : rebase_source : d59985b415ccafc4a9c8e8dbea9b69fa61602b8b
2012-02-21 09:57:09 -05:00
L. David Baron 79f6403b7a Change css3-animations behavior for repeated keys in an @keyframes rule: do replacement on a per-property basis. (Bug 738003) r=bzbarsky
This implements my proposal in
http://lists.w3.org/Archives/Public/www-style/2011Apr/0381.html and
http://lists.w3.org/Archives/Public/www-style/2011Apr/0387.html .  I
think it was a serious mistake to implement what the spec says, and I'm
fixing that mistake so that we have a chance to change the spec.

In other words, when an @keyframes rule has two key selectors at the
same time, the later one no longer overrides the entirety of the earlier
one.  The overriding is done for each property that's in the later rule.
(And the -moz-animation-timing-function is taken only from the keyframe
actually used for the given property; if there's no declaration there
then the computed value of the property is used.)

The test for @keyframes cascade fails without the patch; the test for
@keyframes cascade2 tests behavior that works both before and after the
patch.
2012-03-21 22:10:02 -07:00
Aryeh Gregor 83ed67bd84 Bug 734953 - Remove skew() transformation function; r=dbaron 2012-03-20 13:39:57 -04:00
Nicholas Nethercote 092c8b03a9 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 204ccd37e5 Backed out changeset c880f229fbf5 (bug 712865) due to build bustage. r=me. 2012-03-18 22:53:20 -07:00
Nicholas Nethercote f62f7cea29 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 38ffd75c2e 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 f6d4d913cf Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett 498718a3eb Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Daniel Holbert 86b54c02ab (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 f28a975637 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Boris Zbarsky 64e0bf573c 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 0b6e42d918 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 4e80e64553 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 3e12270964 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 0f31ab2288 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 ef5d0d917f Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
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
Matt Woodrow 0ac99fdad0 Bug 730166 - Mark frames with a hidden backface as transformed. r=roc 2012-03-12 15:03:29 +13:00
Jacob Holzinger 6a62cb6a9b 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 b6e9c4d7bb 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 da738c5677 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 68a79f10ae Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
L. David Baron 35138d3348 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 ab09888daa 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 8de602546b Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange 2012-02-29 18:42:58 +00:00
David Bolter 6392ae8ed0 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 c285af6984 Bug 548375 - Add tests for background-repeat taking two values (css3-background). r=dbaron 2012-02-24 21:23:14 -08:00
Lazar Sumar e55f832fac Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron 2012-02-24 21:23:14 -08:00
L. David Baron 0524fb133f 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 156371420c 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 17659793f1 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 a252d1e95b Depend on assignment and copy construction of unions in nsStyleCoord. (Bug 730240) r=bzbarsky 2012-02-24 21:23:14 -08:00
Zack Weinberg f4fb4a1991 Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron 2012-02-23 08:19:00 -08:00
Lazar Sumar 722dd03f66 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 1f1ceaf509 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 55006e6a38 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
William Chen 4a16132bcb Bug 522607 - Tests for new css3-background background-position syntax. r=dbaron 2012-02-20 12:16:11 +13:00
Lazar Sumar c075b7dd27 Bug 522607 - New css3-background background-position syntax. r=dbaron 2012-02-20 13:14:42 +13:00
Jonathan Watt 3864018bdb 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 f4f67ef82f 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 dcb1ed46ad Bug 727625 - remove childless nsDOMCSSAttributeDeclaration from the purple buffer. r=smaug 2012-02-16 08:45:19 -08:00
Aryeh Gregor ca639d81bb 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 410d2e0687 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 2a617d6d50 Bug 726331 - remove childless nsComputedDOMStyles from the purple buffer. r=smaug 2012-02-15 15:29:53 -08:00
Aryeh Gregor 326da86ac8 Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Aryeh Gregor 7cf7a1dac7 Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron 2012-02-14 10:54:08 -05:00
Jesse Ruderman 56efad1b1d Bug 726465 - Add eCSSUnit_Turn case to nsCSSValue::SizeOfExcludingThis. r=bz 2012-02-12 17:51:58 -08:00
Aryeh Gregor 2c1f399923 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 bf4fa20100 Bug 719446 - getComputedStyle().MozTransform shouldn't have "px" in it; r=roc 2012-02-10 21:04:59 +00:00
Aryeh Gregor 695167de58 Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow 2012-02-07 14:43:28 -05:00
Aryeh Gregor 6a0beebc50 Bug 715946 - Don't return percentages for computed value of transform-origin/perspective-origin. r=bz 2012-02-07 15:40:02 -05: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
Mats Palmgren 3441a254aa merge backout 2012-02-07 12:31:44 +01:00
Mats Palmgren 0e9e24f0c7 Backout Part 4 of bug 524925 (73eaf1199ff0). r=roc 2012-02-07 12:31:37 +01:00
Mats Palmgren 4912b653ef merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren 10fd500a82 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Mats Palmgren 5bcdf45647 merge backout 2012-02-07 12:31:19 +01:00
Mats Palmgren 692c950a94 Backout bug 722117 (a5569fc4c390). r=roc 2012-02-07 12:31:14 +01:00
Mats Palmgren 4900479470 Bug 722117 - "ASSERTION: CalcDifference() returned bigger hint than MaxDifference()" with blink. r=roc 2012-01-29 09:48:20 +01:00
Mats Palmgren 1144b2f834 Bug 719177 - Changes to 'clip' only needs to update the overflow areas and repaint but does not need a reflow. r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren ff48d8d15b Bug 719177 - Changes to 'border-image-outset' only needs to update the overflow areas and repaint but does not need a reflow. r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren dbad187e8c Bug 719177 - Introduce NS_STYLE_HINT_UPDATE_OVERFLOW as a short-hand for nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_UpdateOverflow). r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren 3808c1ebe2 Bug 719177 - Changes to '-moz-text-blink' and some 'text-decoration-style' values only need to update the overflow areas and repaint, not reflow. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren d79b04f5a7 Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren 3d4e1b9097 Bug 719177 - Changes to 'text-shadow' and 'box-shadow' only needs to update the overflow areas and repaint, not reflow. Changes to border style/color/etc only needs repaint, not SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren c496441d30 Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc 2012-01-28 04:35:59 +01:00
Jonathan Watt 6f83ff5139 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Mats Palmgren c372ed8042 Bug 524925 - Make outline style changes update the overflow and repaint instead of reflow. part=4/6 r=roc 2012-01-18 21:04:51 +01:00
Mats Palmgren c440256fa3 Bug 524925 - Make all transform style changes update the overflow and repaint instead of reflow. part=3/6 r=roc 2012-01-18 21:04:51 +01: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
Daniel Holbert 8fa0f10c1e Bug 695222 followup: fix indentation in column-fill chunk of nsRuleNode::ComputeColumnData. [ whitespace-only, DONTBUILD ] 2012-01-25 16:52:19 -08:00
L. David Baron 56ea418dab Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky 2012-01-24 17:21:28 -08:00
Jonathan Watt f36738d918 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Mats Palmgren d33bf8f71c Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
Benjamin Stover dc9cd57308 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Greg Karz 161ae20b7c Bug 712347 - 'The image cannot be displayed ...' error message is hard to read on a dark background. r=roc 2012-01-13 16:26:41 -08:00
Simon Montagu a05832e834 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley afde8417a5 Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu ad89de3591 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
Boris Zbarsky 47e571dfac Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron 2012-01-11 14:36:43 -05:00
Scott Johnson 94736220a5 Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz] 2012-01-09 16:15:10 -06:00
Jonathan Kew abbb68b23f bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett 2012-01-05 10:14:11 +00:00
Nathan Froyd ac04893f6b Bug 712299 - don't require manual syncing of font data; r=bz 2011-12-20 11:49:16 -05:00
Bobby Holley 9adc1c9d8a Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Geoff Lankow df77e46072 Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan 2011-11-02 14:05:50 +13:00
Scott Johnson 1575ebf83f Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
Geoff Lankow e3ca127e39 Backed out changeset 4730eb3ec77a (bug 246620) 2011-12-26 13:19:08 +13:00
Geoff Lankow 8a69f7c287 Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan 2011-11-02 14:05:50 +13:00
William Chen 6040dbfcfa Bug 497995: Part 3 - Cleanup nsCoord initial value handling. r=dbaron
--HG--
extra : rebase_source : 9ed22aa9e24016566fe0e843e6019c4a583ca788
2011-12-22 18:35:02 -05:00
William Chen d4fa3e33b1 Bug 497995: Part 2 - Update existing border-image tests. r=dbaron
--HG--
extra : rebase_source : b9fb3987c8540457fa1f7b3e27420f208207a9c0
2011-12-22 18:34:53 -05:00
William Chen e1ff790f8b Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Ryan VanderMeulen ab86c79137 Bug 712847 - Change declaration to struct to fix MSVC warning. r=bz 2011-12-22 11:50:56 +01:00
Jeff Walden e5f13d7b5f Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -05:00
Jeff Walden 62f48d8793 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Boris Zbarsky 101f2ecf55 Bug 700221. Don't pay attention to whether author color are allowed when deciding whether a change to a non-color property should drop native theming. r=dbaron 2011-12-21 16:53:21 -05:00
aceman 002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Nicholas Nethercote 24d2c81ee1 Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Scott Johnson aef90f0f50 Backout changeset 93f523345fb6. 2011-12-20 00:01:32 -06:00
Scott Johnson 35fbd86079 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 23:11:54 -06:00
Scott Johnson 578a640a52 Backed out changeset 74555805376d 2011-12-19 23:08:52 -06:00
Scott Johnson d6fe638038 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 22:25:19 -06: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
Robert O'Callahan cae8494cd7 Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats 2011-12-19 10:57:27 +13:00
Matt Brubeck f51deee1fa Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Robert O'Callahan 092577b79e Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats 2011-12-18 21:46:39 +13:00
Carlo Alberto Ferraris fe9d938ce3 Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Matt Brubeck 1172cf871a Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Rob Campbell 9cf3cc807d merge fx-team to m-c
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris a7950c2f4f Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Masatoshi Kimura 4eadc7baec Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Jet Villegas 825b966f51 Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron 2011-12-14 23:42:15 -05:00
Boris Zbarsky 6f4a91a36a Bug 709256 part 5. Fast-path nsAnimationManager::DispatchEvents when there are no events. r=dbaron 2011-12-14 23:42:15 -05:00
Boris Zbarsky ea35d340a7 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Andrew Quartey 6fe0fd072a Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Ali Juma 40b68ad93d Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron 2011-12-09 14:18:05 -05: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
Daniel Holbert c8d40fef2d Bug 698967: Fix "lengths" typo in test-descriptions for integer-valued properties in test_transitions_per_property.html. r=dbaron DONTBUILD 2011-12-06 18:49:15 -08: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
Matt Woodrow 1d0b679e9b Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron 2011-12-05 11:53:38 +13:00
Simon Montagu ce40b20333 Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron 2011-12-04 18:02:10 +02:00
Chris Pearce d42af5d3c8 Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Masatoshi Kimura 5b5e408e95 Bug 627885 - Reduce test_value_cloning test output, r=dbaron 2011-10-30 00:55:00 -07:00
L. David Baron 1e5ca9ce1a Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron 59c0a28be1 Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property).  It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Jeff Walden df2b7cbc5c Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Chris Pearce 713e0c074c Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz 2011-11-18 15:22:48 +13:00
Rob Campbell 86de2bc601 merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Jared Wein 5147e08f4c Bug 537718 - Video should scale for a small window. r=dao r=roc 2011-11-14 15:58:41 -08: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
Jared Wein 87dcb951fa Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00