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

44781 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta f735ff5b59 Bug 962594 - Add tests. r=heycam 2015-03-15 20:28:52 -04:00
Kartikaya Gupta f64fcefe30 Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam 2015-03-15 20:28:49 -04:00
Timothy Nikkel 223470bfe4 Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.

nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.

When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.

This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Daniel Holbert d2fb7e676f Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:08:21 -07:00
Daniel Holbert 326494d266 Backed out changeset 6cd4d71818ee (bug 1142686) because it wasn't quite the final patch version 2015-03-13 23:07:57 -07:00
Daniel Holbert 877422a643 Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats
--HG--
rename : layout/style/test/test_dynamic_change_causing_reflow.html => layout/style/test/test_flexbox_reflow_counts.html
2015-03-13 23:00:37 -07:00
Xidorn Quan 7a8ca2a01e Bug 1141928 part 3 - Reftest for simple RTL case. r=jfkthame
The added test only tests the position of ruby text and ruby text container. The position of text inside is not correct yet, which will be fixed in bug 1141931.

--HG--
extra : source : 16ff39aeb8e30223d664355963f25b8bbec17102
2015-03-14 16:46:33 +11:00
Jonathan Kew 382e4487fa Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc
--HG--
extra : source : 914513f894ef001ff8fc593cd36f5e702d49f184
2015-03-14 16:46:33 +11:00
Xidorn Quan b5c74cb24b Bug 1141928 part 1 - Correct the position of ruby text containers in RTL text. r=jfkthame
This patch uses the logical version of FinishReflowChild instead, so that we are able to keep the consistent logical rect, and then fix the rect with correct container width after the whole line is reflowed.

--HG--
extra : source : e944e283799cd04b87c1ed52a3fca68174bf4439
2015-03-14 16:46:33 +11:00
Xidorn Quan b806fae66c Bug 1141928 part 0 - Change line relative dir mapping code to return LogicalSide instead of physical side. r=jfkthame
This also fixes the line relative dir mapping code for inline axis direction.

--HG--
extra : source : 49a69e2193006dd6571765af0f6e464af9fec5b4
2015-03-14 16:46:33 +11:00
Cameron McCormack 9d635d78ad Bug 1123523 - Part 9: Dispatch an nsIAnimationObserver notification when an animation is changed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack d648fe467f Bug 1123523 - Part 8: Dispatch nsIAnimationObserver notifications when an animation is added or removed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack 7edb0d374f Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles 2015-03-14 16:34:40 +11:00
Xidorn Quan 6b6684aace Bug 1141919 part 2 - Drain overflow list of ruby content frame if line break suppression fails somewhere. r=dbaron
--HG--
extra : source : 53e33afd621af625133b87eb5d44fa521570c40d
2015-03-14 16:29:06 +11:00
Xidorn Quan 5193b10097 Bug 1141919 - Fix incomplete line break suppression in ruby. r=dbaron
--HG--
extra : source : 15d558f97b7d2523fa946925e753326dda51467c
2015-03-14 16:29:06 +11:00
L. David Baron cf9dd93a66 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.

--HG--
extra : transplant_source : %86%C0%96N%0E%C9%DB%3A%A8%A1%7DJ%85%04A%10%3A%96%8EY
2015-03-13 22:24:10 -07:00
Daniel Holbert 908a699328 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Wes Kocher bbd726bf8c Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE
Backed out changeset 4e00f10f5a2d (bug 1132743)
Backed out changeset 720842726906 (bug 1132743)
2015-03-13 15:16:33 -07:00
Daniel Holbert aff7407e30 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Ryan VanderMeulen 9cf01b9c13 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen 29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Alexandre Lissy b2ce088272 Bug 1142928 - Make 1090168-3.html fuzzy on Mulet as on B2G. r=jfkthame
--HG--
extra : rebase_source : 2f6cf02b8e43c2569802f20f66fbdd0165d6b1c5
2015-03-13 06:25:00 -04:00
Botond Ballo 70559e5194 Bug 1139464 - In GetNearestScrollableFrame(), associate the root APZC with the root scroll frame of the root document (whether chrome or content), not the root content document. r=kats,tn
--HG--
extra : source : 2ab85f9edf4d74962ca6bede6669cfc28b6b8e15
2015-03-11 17:10:15 -04:00
Carsten "Tomcat" Book 2d961b94ee Backed out changeset ef3881f8d1a3 (bug 1140623) for causing perma m20 failures on b2g
--HG--
extra : rebase_source : 95c46b1f74ba2a7852d2c1648af170c3ca8c9276
2015-03-13 16:32:50 +01:00
Gijs Kruitbosch 0c1e2d28ae Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs 2015-03-13 13:41:37 +00:00
Jim Mathies d6d7d5c6d6 Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn 2015-03-12 14:32:20 -05:00
Robert O'Callahan 72f3e0b5cb Bug 1141252. Don't mark the TablePainter display item as having background-attachment:fixed content if the background-attachment:fixed image will be painted by a dedicated nsDisplayTableCellBackground. r=mats
--HG--
extra : rebase_source : 4e932f88532896f4a65ffd86445c623ba1b66ec6
2015-03-12 15:08:26 +13:00
Robert O'Callahan 843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Botond Ballo 4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Kearwood (Kip) Gilbert c25ae95f1b Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V2 Patch). r=heycam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-12 11:22:00 +01:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange dee805a312 Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Markus Stange 59f454bb84 Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange 0a619bf51b Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa 2015-03-07 18:40:03 -05:00
Robert Longson 42783f00a8 Bug 1141636 - "Dubious loop test in nsSVGElement::GetAnimatedLengthListValues". r=cam f=longsonr
--HG--
extra : rebase_source : be584aae6e5b242feea81056dab7684cf0476d39
2015-03-12 00:39:00 +01:00
Alexandre Lissy aa609d8ba1 Bug 1139893 - Disable reftest bugs/1062108-1.html on mulet. r=jfkthame
There is a real issue underlying, tracked in bug 1141535
2015-03-10 06:59:00 -04:00
Carsten "Tomcat" Book 3f60990baf Backed out changeset 5ad9cc334725 (bug 1141636) for suspicion of causing failures in wr tests 2015-03-12 13:05:40 +01:00
Jonathan Kew 49e2f2f158 Bug 1136557 - Reftests with nested spans in vertical mode. r=smontagu 2015-03-12 10:48:12 +00:00
Jonathan Kew 5ed866f8fa Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Xidorn Quan c0df2e2d3b Bug 1142400 - Separate padding calculation in Get{Min,Pref}ISize and Reflow of nsBulletFrame. r=dbaron
--HG--
extra : source : bb4e850d9a1d2f86395cc2c4880c65073c7fd0e4
2015-03-12 20:53:54 +11:00
Robert Longson 40c622e1ff Bug 1141636 - call GetAnimatedLengthListValues with valid arguments. r=heycam 2015-03-12 09:04:47 +00:00
Xidorn Quan a0cff90eee Bug 1142369 - Include padding of generated image in intrinsic isize of bullet frame. r=roc
--HG--
extra : source : 16afdc3d6f1e987f086bb0a378e98ab747699e15
2015-03-12 16:57:08 +11:00
Robert O'Callahan 77972f304e Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan 0eaf4ed6de Bug 1125767. CSS/SVG filters on an element should make it a containing block for fixed-pos and abs-pos descendants. r=mats
--HG--
extra : rebase_source : 0ff5c8df669024ad487ff6360fef38519830ee64
extra : histedit_source : 2166fc8916cf44001e0b9344153d7bba8dcd10ac
2015-03-09 23:44:49 +13:00
Robert O'Callahan c7d1538273 Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.

--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
Wes Kocher b7ae2e9516 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 243776ce01fcd38161dd94411e0bc1cbfb2f7cb2
2015-03-11 19:06:00 -07:00
Ryan VanderMeulen 97acbd9776 Merge m-c to b2g-inbound. a=merge 2015-03-11 16:03:39 -04:00
Alexandre Lissy 6f44859ccd Bug 1141511 - Disable some gtk2Widget-dependant reftests on Mulet. r=ahal 2015-03-10 09:20:00 -04:00
Xidorn Quan 3bddba82c5 Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc
--HG--
extra : source : 99f9967c5eef6b1d032ae0b3b778a06b28e21d07
2015-03-11 14:14:48 +11:00