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

12280 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky b1ca90d55d Bug 1388625 part 4. Add a concept of wrapper anon boxes to nsCSSAnonBoxes. r=heycam
MozReview-Commit-ID: 39i5eHlrrON

--HG--
extra : rebase_source : 7529aa53036b9c338c121f10572768ccfabc812a
2017-08-11 00:07:12 -04:00
Hiroyuki Ikezoe 80dfc0d6fb Bug 1379516 - Mark animation timerline marker for stylo. r=birtles
MozReview-Commit-ID: GkPSXEk4xua

--HG--
extra : rebase_source : 3fa0f5029bcfd87e9d6abfec9c6ea5d03a7656e6
2017-08-11 08:44:11 +09:00
Xidorn Quan 8a83084796 Bug 1389041 - Move the iframes out from display tree in test_value_computation.html. r=heycam
We filp the display value of display tree after each property, which
means if we put the iframes there, we are rebuilding style for the
two subdocuments repeatedly. This doesn't really make sense. We are
flipping display tree for restoring #elementf, not for the iframes.

MozReview-Commit-ID: B9bRDrlt0HJ

--HG--
extra : rebase_source : 3762605a782098d5d804342766d4ca6ad971fdf8
2017-08-10 21:47:58 +10:00
Brad Werth 1dc1406e58 Bug 1371395 Part 3: Add a test of media query list serialization of valid, invalid, and malformed types. r=emilio
MozReview-Commit-ID: IzKmbIuCZ5c

--HG--
extra : rebase_source : b738aae806aedc4af87ff039f9ed3d838f9eec70
2017-08-07 12:42:03 -07:00
Emilio Cobos Álvarez e4646d449f Bug 1388234: Don't assert when calling out of band to ResolveInheritingAnonymousBoxStyle. r=heycam
MozReview-Commit-ID: FYctJRfLTK6

--HG--
extra : rebase_source : feec0d3a65c501ea7b3382d892f512388bd7240e
2017-08-08 14:54:13 +02:00
Xidorn Quan a7579e7241 Bug 1383992 part 2 - Enable some more mochitests for stylo. r=jmaher
MozReview-Commit-ID: AnZAxhPwwEB

--HG--
extra : rebase_source : 89418b819a53f1d1e5a5cd2861f31af1ff901844
extra : source : 1bc1f2000c0a4e9e23f5e2f05b7d95e44c615238
extra : histedit_source : ad7d9650d49c698d03d6397aa1ad27e860ae7827
2017-08-09 08:31:26 +10:00
Xidorn Quan 58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Bobby Holley fb45c73178 Bug 1388623 - Use our new traversal flags to avoid doing post-traversal clearing of restyle state. r=emilio
MozReview-Commit-ID: E4fqtsQtO9E
2017-08-09 12:12:28 -07:00
Bobby Holley bac6702aa7 Bug 1388623 - Move the document-root-cache-priming into PreTraverseSync. r=emilio
I added this before PreTraverseSync existed, but that's really where it belongs.

MozReview-Commit-ID: DZlcH70QbEt
2017-08-09 12:11:32 -07:00
Bobby Holley 8070fac712 Bug 1388623 - Switch to PreTraverseSync for new-element styling. r=hiro
the PreTraverse stuff is all about ticking animations, which isn't something we
want to do when we're trying to get styles synchronously in the frame
constructor.

MozReview-Commit-ID: L6lw4ef4Jdk
2017-08-09 12:11:30 -07:00
Bobby Holley 499e5efc52 Bug 1368291 - Style sharing for lazy pseudos. r=emilio
MozReview-Commit-ID: 9u8FzDXFZcX
2017-08-09 12:08:24 -07:00
Bobby Holley 9fb54004da Bug 1387499 - Crashtest. r=me
MozReview-Commit-ID: 59I61PQIWHi
2017-08-09 09:21:01 -07:00
Boris Chiou ab736ddb91 Bug 1388216 - Add a rotate3d whose direction vector cannot be normalized into property_database.js. r=heycam
Make sure it doesn't cause assertions.

MozReview-Commit-ID: GHIM9o7DPVO

--HG--
extra : rebase_source : d9c1448e4448d109130af402e77a4901ef562d6d
2017-08-08 17:55:17 +08:00
Wes Kocher 223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Boris Zbarsky 69b153ce8c Bug 1385178. Do fallible allocation of our font data buffer in SyncLoadFontData. r=jfkthame 2017-08-08 13:22:10 -04:00
Boris Chiou 9c6a18d6f3 Bug 1387948 - Enable font-weight in test_transitions_per_property.html for stylo. r=xidorn
MozReview-Commit-ID: LX9MwgLBluy

--HG--
extra : rebase_source : ef21c3e03a46e956ebd8d5dddc2d72327d55c7ae
2017-08-08 13:38:07 +08:00
Boris Chiou 737294f0c4 Bug 1292283 - Enable test_transitions_per_property.html. r=hiro,xidorn
MozReview-Commit-ID: 7noX0Lf5UU8

--HG--
extra : rebase_source : bd6ecad0ade71a000d4dd253f5998e74b39a8b4e
2017-06-16 17:23:24 +08:00
Bobby Holley 861ffa2792 Bug 1381844 - Remove diagnostic assertions. r=me
MozReview-Commit-ID: GSXYiF6XHbm
2017-08-08 12:06:57 -07:00
Fernando Jimenez Moreno 3e43af640c Bug 1379577 - stylo: test custom properties computed values consistent order. r=heycam
MozReview-Commit-ID: HTg9ynXJNRK

--HG--
extra : rebase_source : ac0a94bd5d19d417deb5fe7f50bb5fcb69e21611
2017-08-07 11:26:42 +02:00
Xidorn Quan e572d7e6e7 Bug 1388319 - Mark ServoStyleSet dirty in its Init. r=emilio
MozReview-Commit-ID: 804KasIiS6E

--HG--
extra : rebase_source : 36eb21c5ffc4321aef652947455e73970419803a
2017-08-08 22:41:32 +10:00
Daisuke Akatsuka 26b36b660d Bug 1382137 - Part 2: make list-style-type animatable. r=hiro
MozReview-Commit-ID: BT4SX6SxIYi
2017-08-08 10:12:57 +09:00
Daisuke Akatsuka e77e436ab7 Bug 1382137 - Part 1: implement conversion method from Gecko CounterStylePtr to CounterStyleOrNone. r=hiro
In this path, implement conversion method from CounterStylePtr to CounterStyleOrNone since we need this to implement clone_list_style_type method.

MozReview-Commit-ID: Fmyc50WQU4C
2017-08-08 10:12:54 +09:00
Dragana Damjanovic dd.mozilla@gmail.com 23c8b30d23 Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
Carsten "Tomcat" Book e54b14cf9a merge mozilla-inbound to mozilla-central a=merge 2017-08-07 12:56:05 +02:00
Nicholas Nethercote f941156987 Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.

--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Manish Goregaokar b74c4d0f69 Bug 1386915 - Add nsLookAndFeel::NativeInit() virtual call for initializing native-side state; r=jfkthame
MozReview-Commit-ID: 8XKSC1AOI0N
2017-08-06 15:41:08 -07:00
Cameron McCormack 044f1f8951 Bug 1387481 - Part 2: Crashtest. r=hiro
MozReview-Commit-ID: 8B7GcjqNZQf

--HG--
extra : rebase_source : 65972249a062731c5d5a3e15ea860cf3e3ecdcb8
2017-08-05 17:36:09 +08:00
Cameron McCormack 3c2086d486 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3

--HG--
extra : rebase_source : 2dbabd5e0e9426d1e5c943904d313e6e30dc62b6
2017-08-01 23:01:57 +08:00
Emilio Cobos Álvarez c7b665bcf3 Bug 1382568: Test. r=heycam
MozReview-Commit-ID: DLvVBoXubGT

--HG--
extra : rebase_source : 1edc227048565d9bfb8ba342195ac3b7ff9b06d5
2017-08-05 08:53:03 +02:00
Cameron McCormack adcdde26a2 Bug 1384824 - Part 2: Crashtests. r=bholley
MozReview-Commit-ID: B8MqVBlxEBx
2017-08-04 19:26:04 +10:00
Cameron McCormack 5a641131b9 Bug 1384824 - Part 1: Lazily clear stale Servo element data from a document when its pres shell changes. r=bholley
MozReview-Commit-ID: 1c566PRqFpe
2017-08-04 19:26:04 +10:00
Cameron McCormack 32d1c2df59 Bug 1384824 - Part 0: Consolidate lazy style resolution entrypoints. r=bholley
MozReview-Commit-ID: HPdviA570N1
2017-08-04 19:26:03 +10:00
Nazım Can Altınova f41592eb4a Bug 1386848 - stylo: Get proper length value from calc nsCSSValue r=xidorn
We were getting the proper app units value for transform matrix offset before
Bug 1384656. But after that bug we started using GetCalcValue() method and
it wasn't converting length to app units and this was cousing to miscalculate
translate functions in transform property.

MozReview-Commit-ID: HHlrSg00252

--HG--
extra : rebase_source : dfc96f7905a8b501c0427519bbe5c2cb5010424e
2017-08-04 17:36:18 -07:00
Xidorn Quan 7a45a416ae Bug 1367299 - Allow -webkit-radial-gradient to be serialized in different way with stylo. r=dholbert
MozReview-Commit-ID: 7hBIf6PkiRa

--HG--
extra : rebase_source : 5ddb9efcfa6e797faf89938e96a60238ccaf3ae1
2017-08-04 16:56:02 +10:00
Emilio Cobos Álvarez 3cb89210c5 Bug 1368290: Cache anon box styles in ServoStyleContext. r=bholley
MozReview-Commit-ID: CaaL9hB3G7p
2017-08-04 23:37:17 +02:00
Kate McKinley 092434c08c Bug 1376651 - Pass the nsIScriptElement instead of allocating a string every time r=ckerschb
Change the interface to GetAlowsInline to take an nsISupports* instead
of a string, and pass the nsIScriptElement directly. If we don't have an
element, then pass nullptr or the mock string created as an
nsISupportsString.

MozReview-Commit-ID: pgIMxtplsi

--HG--
extra : rebase_source : 4691643bb67ff6c78a74a4886a04c4816cff6219
2017-07-27 11:01:24 -07:00
Emilio Cobos Álvarez 6d484e41b8 Bug 1341102: Update expectations for servo/servo#17970. r=me
MozReview-Commit-ID: AtpGhruhnEN
2017-08-04 16:38:23 +02:00
Manish Goregaokar efbe3a9af8 Bug 1386887 - Clean up FFI lifetimes to work on nightly; r=emilio
MozReview-Commit-ID: 5WAIVd6p2du
2017-08-03 15:49:25 -07:00
Brad Werth d073eb9bda Bug 1383296 Part 1: Remove all uses of the nsCSSValue::Serialization enum, now that it no longer has multiple values. r=heycam
MozReview-Commit-ID: n6px5hNHtB

--HG--
extra : rebase_source : 6269a9d52e0282d0391276dc1b9ee26dbde7b985
2017-07-21 17:26:35 -07:00
Emilio Cobos Álvarez 809cec316c Bug 1386602: Avoid recreating the stylist in RebuildAllStyleData. r=heycam
MozReview-Commit-ID: 31G9BLgqEmm
2017-08-03 18:10:06 +02:00
Ting-Yu Lin 7fb634c3d5 Bug 1381851 - Add mIsChrome to URLExtraData for querying on servo side. r=heycam
MozReview-Commit-ID: HTCmAcKNefG

--HG--
extra : rebase_source : 196bc82ce8013c7a4667198370625a6e42ca892a
2017-07-31 17:57:56 +08:00
Emilio Cobos Álvarez 938400aeaa Bug 1385896: Move nsStyleContext::mParent to GeckoStyleContext. r=heycam
Unfortunately this means that we lose the NS_STYLE_INHERIT_BIT optimization to
avoid posting changes if we had not requested the struct. In practice, I'm not
sure this optimization matters much, though, and we already compare all the
structs anyway.

We _could_ keep a weak parent pointer from the text style if needed, given we're
going to keep alive the text style at least until the parent style context goes
away, so should be safe, but I don't think the extra churn is worth it, to be
honest. Happy to do so as part of bug 1368290 if you think it's worth it.

MozReview-Commit-ID: ka6tNwf4Ke

--HG--
extra : rebase_source : dd6e98cf5743a8dd2e959ca09ed9a17e52b201e9
2017-07-31 16:21:40 +02:00
Xidorn Quan 7b861b9702 Bug 1386871 - Move font-display pref into StylePrefs. r=heycam
MozReview-Commit-ID: 9CDZSdTOacs

--HG--
extra : rebase_source : b1104db99fc8cdb5c2321e9ce19a0ae60d5164eb
2017-08-03 10:37:02 +10:00
Fernando Jimenez Moreno 9a3658cf7f Bug 1380259 - stylo: update test expectations. r=xidorn
MozReview-Commit-ID: ArXLHGuBoeb

--HG--
extra : rebase_source : 7d558769437e54d4ef7208cfd3369ec024ae5259
2017-08-03 09:55:49 +02:00
Nicholas Nethercote cc91deea30 Bug 1383977 - stylo: Measure Elements and ComputedValues. r=manishearth.
The patch provides FFI access to Gecko's SeenPtrs type from Rust, in order to
record what has already been measured when measuring Arcs. (The SeenPtrs must
be initialized on the Gecko side because the same table is reused for measuring
all Elements within a window, because Elements can share ComputedValues.) I
have confirmed with DMD that this is working correctly.

The patch also introduces MallocSizeOfRepeats, which is like MallocSizeOf but
takes a SizeOfState, which holds a SeenPtrs table.

MozReview-Commit-ID: DHS8zvCsEdQ

--HG--
extra : rebase_source : acf4d7909abf6ceb1719331ccf2e33137eb6dc91
2017-07-19 10:30:53 +10:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Jonathan Watt 720999f3d7 Bug 1377188, part 1 - Change the UA 'box-sizing' style to 'content-box' for <hr>. r=dholbert
MozReview-Commit-ID: 4s5Cj5FhkDe
2017-07-26 11:44:16 +01:00
Brad Werth 726f72274f Bug 1302513 Part 5: Simplify nsCSSValue::AppendToString, now that aSerialization can only take one value. r=dholbert
MozReview-Commit-ID: 9qJOkJTzUY2

--HG--
extra : rebase_source : 3adc39ba40ba350a965ebb7279fef2c6d498ee71
2017-07-21 18:07:14 -07:00
Brad Werth 67a09de76f Bug 1302513 Part 4: Remove the nsCSSValue::Serialization eAuthorSpecified enum, which is no longer used. r=dholbert
MozReview-Commit-ID: 1gmiFyULMsZ

--HG--
extra : rebase_source : 1d4220101105e61168eec491a242a74060f7d417
2017-07-21 14:26:36 -07:00