Wei-Cheng Pan
9bec4e85ee
Bug 1363805 - Part 4: Fix tests that need style flushing. r=heycam
...
Some properties will not trigger style flushing if there is no dirty ancestor.
Instead, use a property which needs layout flushing will do the trick.
MozReview-Commit-ID: C2lRjl5t3ry
2017-09-12 17:46:45 +08:00
Cameron McCormack
0eed7a7daf
Bug 1331294 - Part 1: Make nsPresContext::HasPendingRestyleOrReflow check nsIPresShell::mNeedStyleFlush instead of asking the RestyleManager for its status. r=bholley
...
This might delay the resolution of FontFaceSet's ready promise in cases
where we don't delay it now, when we call nsIPresShell::SetNeedRestyle for
something other than posting a restyle. But from the Font Loading API
spec's point of view, I think this is fine.
MozReview-Commit-ID: AnItzSPnIeB
2017-02-10 10:42:29 +08:00
Cameron McCormack
2e78b03507
Bug 1334876 - Go through the event loop to dispatch FontFaceSet events. r=bz
...
MozReview-Commit-ID: 5L9JEtJoaxF
2017-02-07 18:49:28 +08:00
Cameron McCormack
6d728fb76c
Backed out changeset c5d678ebcbcd (bug 1334876) for test failures.
...
MozReview-Commit-ID: 7lAhjbEiSsd
2017-02-07 11:58:28 +08:00
Cameron McCormack
5b3cdbf578
Bug 1334876 - Go through the event loop to dispatch FontFaceSet events. r=bz
...
MozReview-Commit-ID: BX2I7tb25YM
2017-02-07 10:29:27 +08:00
John Daggett
07855e1d3e
Bug 1157064 - implementation of font-display. r=heycam,khuey
2016-01-07 14:03:05 +09:00
Cameron McCormack
8f556eb4ba
Bug 1163877 - Part 4: Tests. r=jdaggett
2015-10-16 17:10:14 +11:00
Cameron McCormack
356b29d380
Bug 1193019 - Rename CSSFontFaceLoadEvent to FontFaceSetLoadEvent. r=khuey
2015-08-11 12:19:52 +10:00
Cameron McCormack
5e1cb4a811
Bug 1072102 - Part 2: Tests. r=jdaggett
2015-06-27 11:41:10 +10:00
Cameron McCormack
ca468cd661
Bug 1161413 - Part 7: Test Font Loading API in a display:none iframe. r=jdaggett
2015-06-27 11:39:54 +10:00
Cameron McCormack
412c68be73
Bug 1152647 - Part 1: Test. r=jdaggett
2015-05-09 14:46:22 +10:00
Cameron McCormack
ae205cced3
Back out 346bbcaeff38 (bug 1076803) for still failing intermittently.
2015-03-27 22:30:17 +11:00
Cameron McCormack
37b860bcd7
Bug 1145506 - Make FontFace constructor fail on invalid src strings but otherwise create user font entries immediately. r=jdaggett
2015-03-27 21:13:21 +11:00
Cameron McCormack
3ee8e33d14
Bug 1079292 - Re-enable TEST 18 in test_font_loading_api.html; no review.
2015-03-27 21:05:22 +11:00
Cameron McCormack
df247c0634
Bug 1145937 - Don't set FontFaceSet status to Loaded between a font download completion and the document reflow. r=jdaggett
2015-03-27 21:05:22 +11:00
Cameron McCormack
29273b38e7
Bug 1144977 - Part 2: Tests. r=jdaggett
2015-03-27 21:05:22 +11:00
Cameron McCormack
6e3b7e389f
Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett
2015-03-24 19:34:32 +11:00
Cameron McCormack
05ae194980
Bug 1144450 - Part 5: Fix/add tests for not firing loadingdone/loadingerror when adding an already-loaded/error FontFace to a FontFaceSet. r=jdaggett
2015-03-24 19:34:32 +11:00
Cameron McCormack
820b63a23f
Bug 1144450 - Part 1: Fix a typo in test_font_loading_api.html. r=jdaggett
2015-03-24 19:34:32 +11:00
Cameron McCormack
3af790e946
Bug 1144507 - Fix incorrect Promise usage in test_font_loading_api.html. r=jdaggett
2015-03-18 19:54:01 +11:00
Cameron McCormack
624e075acb
Bug 1143953 - Fix typo in test_font_loading_api.html where it incorrectly returns document.fonts.read. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
8fa6516bee
Bug 1143537 - Part 5: Test status of FontFace and FontFaceSet with @font-face rules. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
6b25b76eaa
Bug 1143995 - Remove unnecessary layout flushes from test_font_loading_api.html. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
e633424a52
Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
1d82918c8e
Bug 1143537 - Part 2: Test descriptor getters for CSS-connected FontFaces when the descriptor isn't present. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
7bb3f3b327
Bug 1143537 - Part 1: Fix test numbering. r=jdaggett
2015-03-17 18:15:42 +11:00
Cameron McCormack
00745ef244
Bug 1076803 - Disable subtest 18 in test_font_loading_api.html for intermittent timeouts. r=philor
2014-10-06 10:17:06 +11:00
Cameron McCormack
5af7f789da
Bug 1028497 - Part 26: Tests. r=jdaggett
2014-10-02 12:32:09 +10:00