Commit Graph

48224 Commits

Author SHA1 Message Date
L. David Baron
150c18deae Bug 1228501 patch 4 - Remove nsStyleFont::CalcFontDifference, which now duplicates the list of tests in nsFont::Equals. r=jdaggett
--HG--
extra : commitid : DKp1CfndZTd
2015-11-30 14:02:25 -08:00
L. David Baron
f194309cac Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : JVYtDCoxqyH
2015-11-30 14:02:25 -08:00
L. David Baron
5664cf9014 Bug 1228501 patch 2 - Remove nsFont::decorations member variable. r=jdaggett
The member variable was always set to 0 or to NS_FONT_DECORATION_NONE,
which is 0.

Although this does leave a gap in the structure, I don't see any
opportunities for reordering members to actually shrink nsFont.

--HG--
extra : commitid : 34LA3wCkbdR
2015-11-30 14:02:25 -08:00
L. David Baron
bf50ef11b4 Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
The removed parameter is always 0.

--HG--
extra : commitid : 2YNm9lizlzt
2015-11-30 14:02:25 -08:00
Carsten "Tomcat" Book
6d9dbf2bc2 Backed out changeset 52f9c007281d (bug 1224251) for Android Reftest failures on a CLOSED TREE 2015-11-30 12:17:47 +01:00
Carsten "Tomcat" Book
b26ab66204 Backed out changeset 5c4a581885e4 (bug 1224251) 2015-11-30 12:10:44 +01:00
Carsten "Tomcat" Book
87c80c6a24 Backed out changeset 91898a35b414 (bug 1224251) 2015-11-30 12:10:43 +01:00
Carsten "Tomcat" Book
a1a34b4afa Backed out changeset 0a2d8e926a66 (bug 1224251) 2015-11-30 12:10:42 +01:00
Carsten "Tomcat" Book
681c0ef404 Backed out changeset e1fd92eeb5ba (bug 1228501) 2015-11-30 12:10:40 +01:00
Carsten "Tomcat" Book
7cbe00e2e7 Backed out changeset 3a3cd254f508 (bug 1228501) 2015-11-30 12:10:38 +01:00
Carsten "Tomcat" Book
d76b6dfebd Backed out changeset 6c478d7a9467 (bug 1228501) 2015-11-30 12:10:37 +01:00
Carsten "Tomcat" Book
f016eefac0 Backed out changeset ec79945130ff (bug 1228501) 2015-11-30 12:10:35 +01:00
Carsten "Tomcat" Book
e571b4aa87 Backed out changeset cce90c9b7d1d (bug 1228501) 2015-11-30 12:10:34 +01:00
Carsten "Tomcat" Book
c8d6d54b26 Backed out changeset 4a3c509bcb25 (bug 1228877) 2015-11-30 12:10:32 +01:00
Carsten "Tomcat" Book
1d7dc20dd1 Backed out changeset 36a37b7451a5 (bug 1224251) 2015-11-30 12:10:31 +01:00
L. David Baron
f37bf8fe6e Bug 1224251 followup - Annotate one of the new reftests as fuzzy on Windows and Mac.
--HG--
extra : commitid : 1BCD8In3iqa
2015-11-30 01:17:24 -08:00
L. David Baron
ed7a9954b6 Bug 1228877 - Make nsStyleContext::HasChildThatUsesGrandancestorStyle by setting bit on grandchild's parent instead of grandchild. r=xidorn
--HG--
extra : commitid : 2tUmogO3bzN
2015-11-29 23:15:37 -08:00
L. David Baron
9d5f02c429 Bug 1228501 patch 5 - Remove NS_FONT_DECORATION_* constants. r=jdaggett
Decorations in Gecko are associated with the CSS 'text-decoration'
property, so the constants should live in nsStyleConsts.h, as they
largely already do (since the names defined there are the vast majority
of the uses).

--HG--
extra : commitid : 634GcFUlmHo
2015-11-29 23:15:37 -08:00
L. David Baron
441af2aae0 Bug 1228501 patch 4 - Remove nsStyleFont::CalcFontDifference, which now duplicates the list of tests in nsFont::Equals. r=jdaggett
--HG--
extra : commitid : E44ej4l9NgT
2015-11-29 23:15:26 -08:00
L. David Baron
6f20c9e01e Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : ALr3bEC0aNJ
2015-11-29 23:15:02 -08:00
L. David Baron
07d1584bd9 Bug 1228501 patch 2 - Remove nsFont::decorations member variable. r=jdaggett
The member variable was always set to 0 or to NS_FONT_DECORATION_NONE,
which is 0.

Although this does leave a gap in the structure, I don't see any
opportunities for reordering members to actually shrink nsFont.

--HG--
extra : commitid : 9INFKtizQnt
2015-11-29 23:15:01 -08:00
L. David Baron
c3ea47d074 Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
The removed parameter is always 0.

--HG--
extra : commitid : 2nTtt0E9Syb
2015-11-29 23:15:01 -08:00
L. David Baron
17e9e51fbf Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
--HG--
extra : commitid : A4ASfp124vt
2015-11-29 23:15:01 -08:00
L. David Baron
2dd629b899 Bug 1224251 patch 3 - Return nsChangeHint_UpdateUsesOpacity when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 9ILji8aGpnB
2015-11-29 23:15:01 -08:00
L. David Baron
7dcb2bf7c7 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 4W2ejOSubfo
2015-11-29 23:15:00 -08:00
L. David Baron
258ddecaa0 Bug 1224251 patch 1 - Add reftests. r=mattwoodrow
Locally, these tests fail reliably for me without the patch.  I'm not,
however, confident that they would continue to do so, across future
mutations in the code, were the bug to be reintroduced, given the amount
of fiddling I had to go through to get them to fail without the patch.

That is, without the patch:

  table-row-opacity-dynamic-1.html shows the area of the row that's not
  behind the text as a much more opaque blue than it should be (while
  the area of the row that is behind the text is correct)

  table-row-opacity-dynamic-2.html shows the area of the row that's not
  behind the text as the white background showing through (while the
  area of the row that is behind the text is correct)

--HG--
extra : commitid : 76YvteUZXpE
2015-11-29 23:15:00 -08:00
Sunny Sidhu
cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Mats Palmgren
06f39bb949 Bug 1225368 - [css-grid] More Track Sizing reftests. 2015-11-28 21:37:44 +01:00
Mats Palmgren
5df657f9e0 Bug 1225368 - [css-grid] Make CollectGrowable() deal with frozen tracks; i.e. subtract their base size but don't collect them since they aren't growable. r=dholbert 2015-11-28 21:37:44 +01:00
Mats Palmgren
d51e17c2d0 Bug 1227162 - [css-grid] Reftests for grid container with overflow:hidden. 2015-11-28 21:37:44 +01:00
Mats Palmgren
14b6070460 Bug 1227162 - [css-grid][css-align] Make the scrolled pseudo frame inherit more CSS Align / Grid properties. r=dholbert 2015-11-28 21:37:44 +01:00
Mats Palmgren
61520ea833 Bug 1227099 - [css-grid] Additional reftests for 'grid-row-gap'. 2015-11-28 21:37:44 +01:00
Mats Palmgren
07bd900b59 Bug 1227099 - [css-grid] Grid container block-size should include a grid-row-gap between each row. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman
08c8793dcd Bug 1225592 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren
c49a23f7ce Bug 1225592 - [css-grid] Apply a max limit to the number of explicit tracks we will store (kMaxLine - 1). Also make the layout code more robust so it doesn't depend on that. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman
b1bb110798 Bug 1225376 part 3 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren
3ce65688e6 Bug 1225376 part 2 - [css-align] Add mochitests for align/justify-items/self/content computed values.
--HG--
rename : layout/style/test/test_flexbox_align_self_auto.html => layout/style/test/test_align_justify_computed_values.html
2015-11-28 21:37:44 +01:00
Mats Palmgren
0a9fc78a26 Bug 1225376 part 1 - [css-align] Don't compute left/right to start in the style system anymore (due to pending spec change). Map the used value instead (in layout). r=dholbert
For background, see this www-style thread:
https://lists.w3.org/Archives/Public/www-style/2015Nov/0280.html
2015-11-28 21:37:44 +01:00
Xidorn Quan
ddf58626b6 Bug 1040668 followup 2 - Disable failing reftests of text-emphasis on Windows XP.
--HG--
extra : source : fc26c406a2ac89b2231a73090fe3a4c5143678ee
2015-11-28 17:52:28 +11:00
Xidorn Quan
c1cf44ece1 Bug 1040668 followup - Use monospace for text-emphasis reftests. rs=dbaron on a CLOSED TREE
--HG--
extra : source : 895936df08042b4ac5ceb6092212991fb4534e14
extra : amend_source : 3818efb3ae1da6c12415618e08b9691af80d93c7
2015-11-28 15:24:45 +11:00
Xidorn Quan
82da677403 Bug 1040668 part 16 - Add reftests for text-emphasis. r=dbaron
--HG--
extra : source : 1e80db82eba47cbdd8c433535b6a72c4f86b6ee2
2015-11-28 11:56:33 +11:00
Xidorn Quan
2917ce080e Bug 1040668 part 15 - Make the default value of text-emphasis-position aware of the language. r=dbaron
--HG--
extra : source : a4618d9f75ddcb7912ee5088d05842c3a4881f35
2015-11-28 11:56:33 +11:00
Xidorn Quan
b96f561251 Bug 1040668 part 14 - Add helper function nsStyleUtil::MatchesLanguagePrefix for doing simple language matching. r=dbaron
--HG--
extra : source : b9249b9e2e95cca73c7b3637a58cb1ba3a39596a
2015-11-28 11:56:33 +11:00
Xidorn Quan
ee559c1cab Bug 1040668 part 13 - Move first part of nsStyleFont::GetLanguage to nsPresContext::GetContentLanguage. r=dbaron
--HG--
extra : source : 2878e5e63e111995b4a67cd72b0df5a5a2b6531f
2015-11-28 11:56:33 +11:00
Xidorn Quan
95b800f4ce Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert
--HG--
extra : source : cb34c48bff0ccf4024385d392dc58bc1f672ea23
2015-11-28 11:56:33 +11:00
Xidorn Quan
20e40d505a Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert
--HG--
extra : source : f4d53f54b2e925eef8da6c6749497888527057bb
2015-11-28 11:56:33 +11:00
Xidorn Quan
6fdb9fbeaa Bug 1040668 part 10 - Implement emphasis mark rendering. r=jfkthame
--HG--
extra : source : 1c53ccbaece3931ffe1da5610977e92fcce5f3f6
2015-11-28 11:56:33 +11:00
Xidorn Quan
72495f58ae Bug 1040668 part 9 - Compute overflow from text-shadow after text decorations. r=dbaron
--HG--
extra : source : 6827c7ef262e47cd42fea6b1a90e09883a7d24dc
2015-11-28 11:56:33 +11:00
Xidorn Quan
376cdf821b Bug 1040668 part 8 - Setup text emphasis for text run. r=jfkthame
--HG--
extra : source : 4f5398b5953c0cf4d57ed0fce5788f1430a5b05d
2015-11-28 11:56:33 +11:00
Xidorn Quan
e33deb9306 Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
--HG--
extra : source : 354f4bd8c87646dfbe0a307e0fa140c630dbdb89
2015-11-28 11:56:33 +11:00