Commit Graph

44025 Commits

Author SHA1 Message Date
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
L. David Baron
b6d9258843 Bug 1121738 patch 2 - Add reftest for transform not being supported. r=xidorn
This fails without the patch; I'm hoping it will be fixed by the
combination of patch 1 in this bug and bug 1055667 patch 5.

(Interestingly, it fails both due to mispositioning as expected, and
also due to bad overflow area computation causing failure to paint the
ruby text.)
2015-01-15 15:07:50 -08:00
L. David Baron
a8c1becff0 Bug 1121738 - Ruby base container frames should not support CSS transforms. r=xidorn
Following bug 1055667 patch 5, nsRubyBaseContainerFrame is the only ruby
frame type with this bug.  It should not support CSS transforms given
the spec wording in
http://dev.w3.org/csswg/css-transforms/#transformable-element
2015-01-15 15:07:50 -08:00
L. David Baron
eb5285b396 Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek 2015-01-15 15:07:50 -08:00
L. David Baron
42aec8e460 Bug 1121327 patch 1 - Make the OSX variable in the reftest condition sandbox be an integer (1006, 1010) so that it scales for 10.10, and undefined for non-Mac rather than 0. r=ted.mielczarek
Using undefined has the advantage that we can use < and > tests with the
OSX variable.  (We currently have no such tests in the tree, perhaps
partly because they didn't work with non-OSX being 0.)
2015-01-15 15:07:50 -08:00
Daniel Holbert
7f1b16e03a Bug 1110950 followup: Revert test annotations from part 0, for tests that should now reliably pass. (no review, test-manifest only) 2015-01-15 14:39:52 -08:00
Daniel Holbert
5858140853 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
Kartikaya Gupta
79146a788a Bug 1121033 - Respect mozpasspointerevents when building event regions. r=roc 2015-01-15 10:37:54 -05:00
Ehsan Akhgari
e5d0719afd Bug 1121499 - Make the textarea in the test case for bug 664087 three rows tall so that we don't get a scrollbar on OSX 10.10; r=roc 2015-01-15 08:04:02 -05:00
Jonathan Kew
8699f8544e Bug 1113216 - Avoid assertions/crashes by treating enumerated block-size values as auto, pending proper implementation of all the values. r=dbaron 2015-01-15 11:56:51 +00:00
JerryShih
f7e80df874 Bug 1121331 - Part3: VsyncChild actor and VsyncRefreshTimer creation. r=roc r=bent 2015-01-14 00:38:00 +01:00
JerryShih
5d843b5eb7 Bug 1121331 - Part2: Vsync aligned refresh timer. r=roc r=mchang 2015-01-14 00:38:00 +01:00
JerryShih
09a6608110 Bug 1121331 - Part1: PVsync protocol for vsync event passing. r=bent 2015-01-14 00:37:00 +01:00
Xidorn Quan
cc884ba803 Bug 1120721 - Make ethiopic-numeric use space as suffix. r=jfkthame
--HG--
extra : rebase_source : 77d6225d94df9af4bb956820a92591cc42525948
extra : source : 8bd3e48603383feef0fb70acde8ded40dbacb4da
2015-01-15 21:05:20 +11:00
Xidorn Quan
eb634353fa Bug 1055667 part 7 - Reftests for box properties on ruby boxes. r=dbaron
--HG--
extra : source : 4f6b9fe27d00b364047c0834608eb4c643bc2167
2015-01-15 20:02:11 +11:00
Xidorn Quan
b6f10f748e Bug 1055667 part 6 - Fix border/padding of ruby frame. r=dbaron
--HG--
extra : source : 42391b99e060a7b3c4e281ce2a4fda77cb3e4efc
2015-01-15 20:02:11 +11:00
Xidorn Quan
e2198398db Bug 1055667 part 5 - Make nsRubyFrame inherit nsInlineFrame. r=dbaron
--HG--
extra : source : 2ebca66c36f692cf29cbeb1eb64c6760bb75847c
2015-01-15 20:02:11 +11:00
Xidorn Quan
f371f07432 Bug 1055667 part 4 - Compute border/padding to zero for rbc & rtc. r=dbaron
--HG--
extra : source : e863414c6ceef1cbfb2b47a3abc64b93500060f8
2015-01-15 20:02:11 +11:00
Xidorn Quan
801d76bf4e Bug 1055667 part 3 - Suppress border/padding space on rbc/rtc frames. r=dbaron
--HG--
extra : source : 5025e0967ab9f189bb07af307733fcddcf90eb35
2015-01-15 20:02:11 +11:00
Xidorn Quan
1bf1df7b1e Bug 1055667 part 2 - Remove unnecessary param of SetBSizeFromFontMetrics. r=dbaron
--HG--
extra : source : aa79c8cebf3e2ab0fd4335eaa3c630a43dbe81f2
2015-01-15 20:02:11 +11:00
Xidorn Quan
60d4f4ddf2 Bug 1055667 part 1 - Allow inline direction margin of ruby base/text boxes. r=dbaron
--HG--
extra : source : 55f6a4607daa265757528e7a94f5ba6c9b6d773a
2015-01-15 20:02:11 +11:00
Carsten "Tomcat" Book
e05b528ddb Backed out changeset d1864ee9f2b2 (bug 1110950) for R5 Test failures on a CLOSED TREE 2015-01-15 09:32:18 +01:00
Daniel Holbert
311e6e6684 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-14 22:43:05 -08:00
Phil Ringnalda
e39f0adeca Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Xidorn Quan
5d81d66f89 (no bug) - Reorder reftest.list of css ruby. 2015-01-15 16:55:36 +11:00
Xidorn Quan
88bf1ccda8 Bug 1121684 - Move one-liners in nsLineLayout.cpp to the header. r=roc
--HG--
extra : source : 1d3128f4f31f9b4998dc09c130657d54e729bb20
extra : amend_source : 21d2320d6699aa6294a233cb515f226500f6879a
2015-01-15 15:52:27 +11:00
Nicholas Nethercote
e9735966fa Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
47221bc7f9 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
c7538c9776 Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Daniel Holbert
73ee83551b Bug 1058954 followup: reorder crashtest.list to preserve numerical order. (no review, test manifest only) 2015-01-14 15:53:07 -08:00