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

44054 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 85227ffecb bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel 2015-01-19 17:41:12 -05:00
Robert Longson b83e878ed3 Bug 1119698 - ensure image elements take pointer-events into account r=jwatt
--HG--
rename : dom/svg/test/test_pointer-events-4.xhtml => dom/svg/test/test_pointer-events-7.xhtml
2015-01-19 15:06:01 +00:00
Jonathan Kew c45717c168 Bug 1123133 - Vertical writing-mode support in nsFieldSetFrame. r=smontagu 2015-01-19 11:43:58 +00:00
Jeremy Chen a276a30c08 Bug 1110917 - v3 Part 2: Fix focus not changing while selecting word. r=roc 2015-01-15 22:46:00 +01:00
Jeremy Chen 31bef005d4 Bug 1110917 - Part 1 - Add test cases for selectioncaret changes. r=dburns 2014-12-31 14:40:39 +08:00
L. David Baron fbb058f1c5 Bug 1089417 patch 10 - Make CloneMQCacheKey clone the mPreviousCacheKey, to fix bug 1089417 for multiple rebuilds of the rule cascade in sequence. r=heycam
I confirmed that this patch fixes the mochitest.
2015-01-19 00:49:56 -08:00
L. David Baron 6aaeae8328 Bug 1089417 patch 9 - Add mochitest that exercises case of clearing rule cascades twice. r=heycam
I've tested that this test fails with the current state of the tree
(i.e., without patch 10).
2015-01-19 00:49:56 -08:00
Jonathan Kew d7bad3d78b Bug 1122366 - Reftest for margin-collapsing through empty element in vertical mode. r=dbaron 2015-01-17 08:51:41 +00:00
Jonathan Kew 7819f255f0 Bug 1122366 - pt 2 - Also make nsInlineFrame::IsSelfEmpty aware of vertical writing modes. r=dbaron 2015-01-17 08:51:37 +00:00
Jonathan Kew f8f32bcddd Bug 1122366 - pt 1 - Make nsBlockFrame::IsSelfEmpty aware of vertical writing modes. r=dbaron 2015-01-17 08:50:56 +00:00
Cameron McCormack 633dc9fccf Bug 1121768 - Part 4: Store token stream values in all subproperties of a shorthand with a variable reference. r=dbaron
This will make UA style sheet-only properties with a variable reference
work.  (It's probably unlikely that we'll ever have such properties,
though.)
2015-01-17 15:55:07 +11:00
Cameron McCormack 0c9d4ac32b Bug 1121768 - Part 3: Look at all subproperties (not just content-visible ones) in nsCSSExpandedDataBlock methods. r=dbaron
We need to ensure we transfer (or clear) all subproperties of a
shorthand that is only enabled in UA style sheets or in certified apps.
Otherwise, the shorthand will parse correctly and get stored on the
nsCSSExpandedDataBlock but the transfer (or clear) method will skip
all of the subproperties.
2015-01-17 15:55:07 +11:00
Cameron McCormack b6fbc240b2 Bug 1121768 - Part 2: Give CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES an nsCSSProps::EnabledState argument. r=dbaron 2015-01-17 15:55:07 +11:00
Cameron McCormack 14e43fddda Bug 1121768 - Part 1: Require that shorthands with CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS or CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP have those flags on all subproperties. r=dbaron
Requiring that UA style sheet-only shorthand properties only have UA
style sheet-only subproperties makes it easier to deal with the
subproperties outside of the CSS parser (which is where the information
about whether a given property is enabled only in UA style sheets is
stored).  Similarly for certified app-only shorthands.
2015-01-17 15:55:07 +11:00
Cameron McCormack 7be3c2ce85 Bug 1120283 - Part 2: Tests. r=dbaron 2015-01-17 15:53:27 +11:00
Cameron McCormack 2ddead31eb Bug 1120283 - Part 1: Implement the offset-{block,inline}-{start,end} logical properties. r=dbaron 2015-01-17 15:53:27 +11:00
Cameron McCormack e099fb2efe Bug 1117983 - Part 4: Tests. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack 228d7a7703 Bug 1117983 - Part 3: Implement the min-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack c7bda81337 Bug 1117983 - Part 2: Implement the max-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack 147da22f18 Bug 1117983 - Part 1: Implement the {block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack c6ef584ad1 Bug 1120284 - Part 5: Support logical axis properties. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack 920c31261c Bug 1120284 - Part 4: Add functions to convert from logical to physical axes based on writing mode. r=jfkthame 2015-01-17 15:43:20 +11:00
Cameron McCormack 00a0ddeb0e Bug 1120284 - Part 3: Add physical axis constants. r=jfkthame 2015-01-17 15:43:20 +11:00
Cameron McCormack 4468def2e9 Bug 1120284 - Part 2: Support non-shorthand-related logical box property groups. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack e213d872b9 Bug 1120284 - Part 1: Define logical property groups more explicitly. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack 7ab98884f5 Bug 1083134 - Part 8: Add border-block-{start,end} logical shorthands. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack 0687277d70 Bug 1083134 - Part 7: Tests. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack ba2c0ee4ca Bug 1083134 - Part 6: Add border-block-{start,end}-{color,style,width} logical properties. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack b9705dbd26 Bug 1083134 - Part 5: Add margin-block-{start,end} logical properties. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack 4eb9cc70cd Bug 1083134 - Part 4: Add padding-block-{start,end} logical properties. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack cf8408ead3 Bug 1083134 - Part 3.1: Cascade block-axis logical properties with their physical equivalents. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack 0d6e5754f9 Bug 1083134 - Part 3: Add functions to WritingMode to convert between logical and physical sides. r=jfkthame 2015-01-17 15:22:51 +11:00
Cameron McCormack f9ddcc8210 Bug 1083134 - Part 2: Add function that can return which physical box property shorthand a given logical longhand is related to. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack d973e286a1 Bug 1083134 - Part 1: Add CSS_PROPERTY_LOGICAL_{BLOCK_AXIS,END_EDGE} flags to record which side a logical property is for. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack 2f9bd6a6d4 Bug 649142 - Part 8: Tests. r=dbaron 2015-01-17 15:16:03 +11:00
Cameron McCormack 6543d83f5f Bug 649142 - Part 7: Move CSS_PROPERTY_LOGICAL up into one of the earlier free bits. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack 5440e0199a Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2015-01-17 15:16:02 +11:00
Cameron McCormack 4492448c51 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack 8184e4e1ed Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack ef9c6fb6bd Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2015-01-17 15:16:02 +11:00
Cameron McCormack 2b74e5e83e Bug 649142 - Part 2.1: Test that logical properties in property_database.js are longhands. r=dbaron 2015-01-17 15:16:01 +11:00
Cameron McCormack d78531ffb7 Bug 649142 - Part 2: Convert logical properties to their physical equivalents during the cascade. r=dbaron
We will add cases to EnsurePhysicalProperty's switch statement as we
convert the existing shorthand-implemented logical properties to the
new, CSS_PROPERTY_LOGICAL-bearing properties.
2015-01-17 15:16:01 +11:00
Cameron McCormack 59aad795f0 Bug 649142 - Part 1.1: Assert that CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED is not used on logical properties. r=dbaron 2015-01-17 15:16:01 +11:00
Cameron McCormack ddf87d6cf6 Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2015-01-17 15:16:01 +11:00
Seth Fowler 3f1298938c Bug 850197 - Mark layout/reftests/svg/as-image/list-simple-1.html random on Windows and OS X on a CLOSED TREE. a=KWierso
--HG--
extra : amend_source : dc810842bccef821869ed676b6c216f0bb78e4f0
2015-01-16 16:34:06 -08:00
Surabhi Anand 98a481bdeb Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Seth Fowler cd671ff520 Bug 1079627 (Followup) Mark test-image-layers-multiple-displayitem.html random on B2G on a CLOSED TREE. r=me
--HG--
extra : amend_source : 9756b4c5a6db8eadb5943cd6e3d6f4aa37cb398d
2015-01-15 21:52:33 -08:00
Nicholas Nethercote 69fe655b04 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
L. David Baron e15cc37014 Bug 1122240 - Check mIsActive before calling the somewhat-expensive GetRootPresContext. r=roc
I noticed the GetRootPresContext call being expensive in a profile that
involved painting in a (non-e10s) window with around 400-500 tabs.
Moving the mIsActive test (most likely to be false) first should fix
that.
2015-01-15 18:14:44 -08:00
L. David Baron 13ce318418 Bug 1122297 - Adjust existing Mac OS X reftest failure annotations that also show up on 10.10. r=philor
This adjusts existing reftest annotations for tests that fail on 10.8
that are showing up as failing on 10.10 as well to be marked using >=
version tests rather than == version tests.
2015-01-15 18:00:49 -08:00