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

9124 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley fd09da820a Bug 1275766 - Give nsStyleQuoteValues threadsafe refcounting. r=heycam
The contents are immutable after creation and safe to destroy on any thread.
2016-05-25 22:06:43 -07:00
Bobby Holley 1faeab3f5c Bug 1275766 - Fix counter style assertion. r=heycam
This is backwards.
2016-05-25 22:06:41 -07:00
Bobby Holley d578dbf50c Bug 1275766 - Invoke the proper URLValue constructor from Servo. r=heycam
Right now these are just coercing the values and invoking the main thread
constructor.
2016-05-25 22:06:40 -07:00
Mike Shal 409fea0302 Bug 1275356 - Fix newlines in gen-css-properties.py on Windows; r=chmanchester
MozReview-Commit-ID: 9BDStGNIEqg

--HG--
extra : rebase_source : 67455fd95471094610a20300bf756bb4b78f9220
2016-05-24 10:49:51 -04:00
Edgar Chen 39105e76a9 Bug 1274519 - Don't append result to the candidate list if got unexpected token at the end of size string; r=heycam
MozReview-Commit-ID: 9jwHNUPZ94k
2016-05-25 09:47:18 +08:00
Ethan Lin e80a474067 Bug 548372 - Part3. background-repeat round/space test cases. r=heycam, mstange 2016-05-18 23:16:00 +02:00
Lazar Sumar a045541027 Bug 548372 - Implement round and space values of background-repeat CSS property. r=dbaron 2016-05-06 02:16:00 +02:00
Mats Palmgren cd270495b8 Bug 1266268 - [css-grid] Tests <percentage> for grid gap properties. 2016-05-25 10:48:52 +02:00
Mats Palmgren 5e2c16366e Bug 1266268 - [css-grid] Implement <percentage> for grid gap properties. r=dholbert 2016-05-25 10:48:52 +02:00
Cameron McCormack daeb3ff4dd Bug 1275452 - Part 4: Remove anonymous content styling hack in ServoStyleSet. r=bholley
--HG--
extra : rebase_source : ef6ace49a67f19d7a16815b85efe18faebf69b79
2016-05-25 16:55:50 +10:00
Cameron McCormack 4e94a3cb48 Bug 1275452 - Part 1: Add Servo_RestyleSubtree for eagerly restyling a subtree of a document. r=bholley
--HG--
extra : rebase_source : add50774bc74cc2651b057e5a9518cf2b8b0bb12
2016-05-25 16:55:49 +10:00
Daniel Holbert fb4d5e0d63 Bug 1275067: Flip logic in nsStyleCoord::ToLength, for safer general-case behavior. r=heycam
MozReview-Commit-ID: 7KYn5hv2Kmd
2016-05-24 23:54:35 -07:00
Hiroyuki Ikezoe 73fde46943 Bug 1167519 - Part 2: A mochitest to check a new transform position replaced by old transform transition is close to the old one. r=birtles
MozReview-Commit-ID: 1s8ZH3KPf9a

--HG--
extra : rebase_source : bb117f14382ff88a9142d9d2ce7756fa3e251288
2016-05-25 12:41:23 +09:00
Hiroyuki Ikezoe 46a6c883c6 Bug 1167519 - Part 1: Calculate plausible starting value on compositor with TimeStamp::Now() when replacing an old transtion. r=birtles
Transitions on the compositor sometimes go further ahead while the
main-thread is busy.  When the transition on the compositor is replaced by a
new one, until now we calculate the current position of the old one with the
most recent refresh time.  But if the replace is done on a busy frame, the
calculated position will be far from the real position on the compositor.
As a result, we can see jumping transitions after busy frames.
To mitigate this issue, we should calculate a plausible current position of
the old one with the current time just before sending the new transition to
the compositor, i.e., after all JS callback works have done.
The plausible value is stored into KeyframeEffectReadOnly::mProperties, not
into mKeyframes.  If we store the value into keyframes,
KeyframeEffectReadOnly::GetKeyframes() will return a different values after
busy frames.
Note that with this patch getComputedStyle() does not return the plausible
value because this patch does not affect styling process. getComputedStyle
issue will be fixed in bug 1273834.

MozReview-Commit-ID: B85kIx6qeyy

--HG--
extra : rebase_source : d19fd18a78bc1ce7820301f2b98832f0ba3dcd8e
2016-05-25 05:51:57 +09:00
Bobby Holley 8cd5efe7f9 Bug 1274443 - Always cache reset structs for servo. r=heycam
The shared code always caches inherited structs, but not reset structs. Without
this change we will always do an FFI call to get the struct.
2016-05-24 18:50:31 -07:00
Bobby Holley 9c8af73cc2 Bug 1274443 - Avoid calling ApplyStyleFixups for ServoComputedValues. r=heycam 2016-05-24 18:50:28 -07:00
Bobby Holley e4b157691b Bug 1274443 - Properly cache and flag servo style structs in nsStyleContext::StyleData. r=heycam 2016-05-24 18:50:26 -07:00
Thomas Wisniewski ef181f575e Bug 955857 - Add tests for overflow-wrap. r=dbaron
MozReview-Commit-ID: 5HVMTNWDIaz

--HG--
rename : layout/reftests/text/wordwrap-04.html => layout/reftests/text/overflowwrap-04.html
rename : layout/reftests/text/wordwrap-05.html => layout/reftests/text/overflowwrap-05.html
rename : layout/reftests/text/wordwrap-06.html => layout/reftests/text/overflowwrap-06.html
rename : layout/reftests/text/wordwrap-07.html => layout/reftests/text/overflowwrap-07.html
rename : layout/reftests/text/wordwrap-09.html => layout/reftests/text/overflowwrap-09.html
rename : layout/reftests/text/wordwrap-10.html => layout/reftests/text/overflowwrap-10.html
extra : rebase_source : 3ea075f4837fc38fbc450189324180680a10e945
2016-05-23 21:41:03 -04:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
cku 3cada11da2 Bug 1275026: Part 2. Crash test r=jfkthame
MozReview-Commit-ID: 5bp6XYNJB2L

--HG--
extra : rebase_source : 0ae68d23b7fb53fa35353c8a2afc69970e29f587
2016-05-24 17:38:32 +08:00
Keith Yeung 28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Edgar Chen 7e21de3ed5 Bug 1274526 - Part 1: Implement support for 'q' absolute length units in CSS; r=heycam
MozReview-Commit-ID: vTDufVkAuv
2016-05-23 15:18:34 +08:00
Daniel Holbert 9a78c49077 Bug 1274096 part 2: Add support for "-webkit-flex" & "-webkit-inline-flex" as spellings of modern flexbox "display" keywords, if webkit prefix support is enabled. r=mats
MozReview-Commit-ID: 3UKsC1qTz1B
2016-05-23 21:42:36 -07:00
Daniel Holbert 09d9eb8a88 Bug 1274096 part 1: Add support for webkit-prefixed aliases of modern flexbox CSS properties. r=mats
MozReview-Commit-ID: FcOqz82qCAI
2016-05-23 21:42:34 -07:00
Hiroyuki Ikezoe e5147036e7 Bug 1166500 - Part 5: Remove some AreAsyncAnimationsEnabled checks. r=dbaron
Now we can throttle some sort of animations which run on the main thread
as well as animations on the compositor. So, AreAsyncAnimationsEnabled checks
should be removed.

The check in PresShell::HandleEvent might be replaced with checking
nsIDocument::mNeedStyleFlush, but I am not sure.
2016-05-24 12:57:42 +09:00
Phil Ringnalda 6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Ting-Yu Lin d06693b2f0 Bug 1274835 - Refactor code to process basic shape from clip-path. r=heycam
This can be used in the implementation of shape-outside.

MozReview-Commit-ID: C7bd4D2Kwpm

--HG--
extra : rebase_source : fefdd869b1ede3c518e496d8b25ffa5953a7145d
2016-05-22 20:41:19 +08:00
Daisuke Akatsuka 9b0ebdae81 Bug 1209405 - Part 6: Add restyle test for SMIL animation. r=hiro
MozReview-Commit-ID: 2nOxiujnQgv

--HG--
extra : rebase_source : 002bbf2852f51c664797b62767a1ff76cad30bae
2016-05-23 10:53:23 +09:00
Jeremy Chen 685cf4c3d8 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl

--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Jeremy Chen 0f24420a8f Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
MozReview-Commit-ID: 1UX1wZJNnat

--HG--
extra : rebase_source : e74d1cf5ca0866897634339a0fe6df65e0d249ae
2016-05-23 11:26:03 +08:00
Jeremy Chen 1a607ceb9d Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
MozReview-Commit-ID: CWlyjREgoEk

--HG--
extra : rebase_source : 452a425fe4c722d7d5e15118ecb0e59c54908f37
2016-05-23 11:26:03 +08:00
Brian Birtles 8ebe6988d5 Bug 1263486 part 3 - Use nsCSSValue move constructor in CSSAnimationBuilder::GetComputedValue r=heycam
MozReview-Commit-ID: H79OAEkdq4L

--HG--
extra : rebase_source : 13563c4d4c8950bba168c1b85108359b29f0efda
2016-05-20 09:09:37 +09:00
Brian Birtles 0a4031e946 Bug 1263486 part 2 - Use nsCSSValue move assignment operator in nsCSSValue::Adopt(Pair)ListValue r=heycam
MozReview-Commit-ID: 2fTFNmtHxIP

--HG--
extra : rebase_source : b9ed5d5a19488a7d5a6b8b48a52e8619672c945b
2016-05-20 09:09:33 +09:00
Brian Birtles 7bf700da8b Bug 1263486 part 1 - Add a move constructor and assignment operator to nsCSSValue r=heycam
MozReview-Commit-ID: IgtvOuPqWge

--HG--
extra : rebase_source : 65db9f6e1cfce5b1ac711195c5cce7b43590170f
2016-05-20 09:09:28 +09:00
Matt Woodrow 26046e381f Bug 881832 - Fix hover_helper to handle that multiple resizes due to :hover oscillation are now coalesced and don't fire resize events. r=dbaron 2016-05-12 12:08:31 +12:00
Cameron McCormack b42139ed5f Bug 1273838 - Part 4: Add FFI set/copy methods for -moz-binding. r=bholley
--HG--
extra : rebase_source : 2f635bf73bf93482a64b4e5d269ab034b20200a2
2016-05-21 10:02:54 +10:00
Cameron McCormack b2758c810d Bug 1273838 - Part 3: Pass sheet base/referrer/principal to Servo_StylesheetFromUTF8Bytes. r=bholley
--HG--
extra : rebase_source : 79e386f605f08e07f4737f044b6bbd3b413e388d
2016-05-21 10:02:54 +10:00
Cameron McCormack 2af45ab23d Bug 1273838 - Part 2: Add stylo bindings glue for refcounting nsIPrincipals and nsIURIs. r=bholley
--HG--
extra : rebase_source : 3feef1315c4c8716952f630a38a4802e118b44ed
2016-05-21 10:02:54 +10:00
Cameron McCormack d6732018a8 Bug 1273838 - Part 1: Make URLValue construction thread-safe. r=bholley
--HG--
extra : rebase_source : 2190da734a8a05089928114c8d80315406ad272f
2016-05-21 10:02:54 +10:00
Cameron McCormack 172aeab3d2 Bug 1272552 - Use more normal refcounting for css::ImageValue. r=bholley
--HG--
extra : rebase_source : 83aebd2b1350e0e5e26f6f00cf8d482e0c8bdd13
2016-05-21 10:02:53 +10:00
Daniel Holbert 421e7e6728 Bug 1272983 part 4: Remove the "NoPercentage" getters for margin/padding, and fold their impls into the main getters. r=dbaron
a=KWierso for inbound metering

MozReview-Commit-ID: K2ScimpByn2
2016-05-20 15:06:31 -07:00
Cameron McCormack c528f52278 Bug 1273771 - Followup: Use nsDependentCSubstrings for pointer/length pairs passed in from Servo. r=bholley 2016-05-19 16:54:58 +10:00
Bobby Holley 54e2b1cf7e Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 18:14:02 -07:00
Sebastian Hengst 542bd271b5 Backed out changeset 48d8323378ac (bug 1273771) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:32:30 +02:00
Bobby Holley 495a804524 Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 12:22:44 -07:00
Keith Yeung 90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Keith Yeung 24bac18bf5 Bug 1273424 - Rename -moz-float-edge constants to be more consistent with keywords. r=bholley 2016-05-18 11:07:46 -07:00
Mats Palmgren b4594808f5 Bug 1273705 - Add convenience methods to check if a margin is 'auto' on either side in an axis. r=dholbert 2016-05-18 13:49:32 +02:00
CJKu ffcae1dc76 Bug 1272970 - fix test_transitions_per_property failure; r=mstange
MozReview-Commit-ID: 9y9gT0dagDv

--HG--
extra : rebase_source : a01d99716b26e072b2ae74e3602772764810991c
2016-05-15 22:39:31 +08:00
stefanh@inbox.com d76d8b9c90 Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00