Ting-Yu Lin
41fb52c7e0
Bug 1094607 - Move scroll observer logic to SelectionCarets. r=roc
2014-11-05 22:00:00 +01:00
Xidorn Quan
9a699374b5
Bug 1063857 - Fix reftests for new justification algorithm.
...
--HG--
rename : layout/reftests/bugs/503399-ref.html => layout/base/tests/bug503399-ref.html
rename : layout/reftests/bugs/503399.html => layout/base/tests/bug503399.html
2014-11-10 12:24:51 +11:00
Kartikaya Gupta
ed7afa138f
Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc
2014-11-06 08:05:51 -05:00
Robert O'Callahan
0284071e77
Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
...
--HG--
extra : rebase_source : d13f993c4dd1b868f47b6c79b39172bb40b3871c
2014-11-07 13:20:27 +13:00
James Kitchener
5fe32432f6
Bug 1002526 - Part 5 - Force <math> element's font inflation in <mtd> descendants. b=1002526. r=roc
2014-11-06 14:01:00 +01:00
Jonathan Watt
f304504ca1
Bug 1094063, part 1 - Stop nsCSSBorderRenderer::DrawBorders from sometimes drawing the border twice. r=mattwoodrow
...
--HG--
extra : rebase_source : 091c0cbbe0cf6f7bf0dcfa4fcabe9c4c31e23c42
2014-11-06 22:07:36 +00:00
Jonathan Watt
806bb3744a
Bug 1094480 - Fix rendering of CSS borders when only some of the corners have a border-radius and the border-radius is greater than the sum of the border width and the element's content area width/height. r=mattwoodrow
...
--HG--
extra : rebase_source : eb5023f83ec846dbdbf2ae19eb7e24bd01ce1c8a
2014-11-06 22:07:36 +00:00
Carsten "Tomcat" Book
c4cb4d7865
Backed out changeset f1989cb41965 (bug 1093686) for B2G Desktop Linux opt m1 test failures
2014-11-06 16:42:36 +01:00
Kartikaya Gupta
a1f6f203be
Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc
2014-11-06 08:05:51 -05:00
Kartikaya Gupta
371ecd8746
Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc
2014-11-06 08:05:51 -05:00
Kartikaya Gupta
6afff5ec62
Bug 1093686 - Ignore body-level touch/mouse listeners when assessing element clickability. r=roc
...
When walking up the content tree to assess if an element is contained inside a
clickable element, we should stop before hitting the body element. This is a
heuristic based on pages in the wild, because a lot of pages have mouse/touch
listeners on the body. Without this patch all elements end up getting treated
as clickable which makes the event retargeting code useless.
2014-11-06 08:05:51 -05:00
Ting-Yu Lin
189652787e
Bug 1094072 - Update selection carets after reflow. r=roc
...
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Timothy Nikkel
3738e087a7
Bug 1086683. We need to take into account the resolution when comparing the size of a frame and it's associated widget. r=botond
...
The size of the frame is scaled by the local resolution of it's presshell. The widget contains the document, so it's size is scaled the parent presshell resolution, but not the local presshell resolution. So comparing the widget size and the frame size directly without taking into account resolution is wrong.
2014-11-06 00:42:17 -06:00
Robert O'Callahan
5670ea50e5
Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
...
--HG--
extra : rebase_source : 2559a0f44319264fe6395ef833269fb412f18502
2014-10-24 12:20:01 +13:00
Robert O'Callahan
7f0095de5c
Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
...
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Robert O'Callahan
8151ed239b
Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : 8c39aebedb275b56eda4a740b63ae4e00523c206
2014-10-21 10:32:10 +13:00
Robert O'Callahan
b99457e086
Bug 1083635. Part 3: Flush displaylist dump before calling PaintRoot. r=mattwoodrow
...
--HG--
extra : rebase_source : 6da7f168218036a13be7dcd73ed8b3c552dcace1
2014-10-21 10:32:10 +13:00
Robert O'Callahan
050aec01b4
Bug 1083635. Part 2: Inline nsDisplayList::PaintForFrame into PaintRoot. r=mattwoodrow
...
--HG--
extra : rebase_source : 1d313b18a2b0cc5894924299f421966a1f428799
2014-10-21 10:32:09 +13:00
Robert O'Callahan
2229b67428
Bug 1083635. Part 1: Remove nsDisplayZoom::Paint since it's dead code. r=mattwoodrow
...
--HG--
extra : rebase_source : bb053e5abb7f5a8ae17ab59af542db292ba35543
2014-10-21 10:32:09 +13:00
Robert O'Callahan
5fbde2a977
Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
...
--HG--
extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
2014-10-22 14:26:17 +13:00
Kartikaya Gupta
7644286079
Bug 1078029 - Add code to reposition input event coordinates into the target frame. r=roc
...
The PositionedEventTargeting code allows input events to be dispatched to a
target not directly under the input event point. However, the coordinates of the
input event can then end up outside the bounding rect of the event target. This
state is generally unexpected by web content and may cause compatibility issues.
Fennec's front-end code used to deal with this by repositioning the input event
coordinates to be inside the bounding rect; now that Fennec is using the shared
C++ code we need to have that code here. This behaviour is guarded by a pref and
disabled by default (but enabled on Fennec).
2014-11-04 09:52:16 -05:00
Robert Longson
4a07c5065f
Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt
2014-11-04 14:52:27 +00:00
Jonathan Watt
45afd98fc7
Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
...
--HG--
extra : rebase_source : 6db1d646f09b563b40208ba8bacdf3743fbe1ba7
2014-11-04 09:53:05 +00:00
Kartikaya Gupta
ec83bae817
Bug 1092139 - Make the PositionedEventTargeting code respect the flag to ignore root scroll frames. r=roc
...
The ignore-root-scroll-frame flag is used on mobile platforms in order to allow
hit-testing outside the viewport area. This is needed because the user can zoom
out and make visible an area larger than the viewport (i.e. the displayport) but
layout generally restricts hit-testing to the viewport. The code to retarget
events to nearby clickable elements also needs to respect this flag, otherwise
the retargeting fails to work outside the viewport area.
2014-11-03 09:43:52 -05:00
Jonathan Watt
61fa9c2376
Bug 1092351 - Mark most of nsCSSBorderRenderer as private to make it easier to reason about and refactor. r=dholbert
2014-11-03 10:03:14 +00:00
Jonathan Watt
ae74d98a1e
Bug 1092222, part 4 - Port nsCSSRenderingBorders fill painting to use Moz2D directly. r=roc
2014-11-03 10:03:11 +00:00
Jonathan Watt
abddfde232
Bug 1092222, part 3 - Convert nsCSSRenderingBorders from Thebes to Moz2D basic types. r=roc
2014-11-03 10:03:09 +00:00
Jonathan Watt
70be113245
Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc
2014-11-03 10:01:57 +00:00
Ting-Yu Lin
a280daa9fd
Bug 1029943 - Part 2 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan
2014-10-31 09:14:00 +01:00
Gina Yeh
9d3fe07516
Bug 989198, Patch 9: Fix warning, r=smaug.
2014-11-03 15:06:10 +08:00
Gina Yeh
a9a5a8c2c1
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jesse Ruderman
b883af5afb
Bug 416107 - crashtest.
2014-11-02 22:47:01 +00:00
Jesse Ruderman
a4cffd8451
Bug 403454 - crashtest.
2014-11-02 22:47:01 +00:00
Nils
1d57072a4f
Bug 817219 - crashtest.
2014-11-02 16:47:26 +00:00
Nils
b0eacd3c8f
Bug 876221 - crashtest.
2014-11-02 16:47:26 +00:00
Mats Palmgren
1aceb17cf6
Bug 1077687. If we have a pending request to rebuild all style data then do so instead of processing individual restyles. r=roc
2014-11-02 16:47:26 +00:00
Jonathan Watt
4b6012a859
Bug 1091787, part 2 - Port the nsCSSRendering code that uses gfxContext::RoundedRectangle to Moz2D. r=mattwoodrow
2014-11-02 15:41:08 +00:00
Jonathan Watt
5078f71c32
Bug 1091787, part 1 - Port the nsCSSRenderingBorders code that uses gfxContext::RoundedRectangle and gfxRGBA to Moz2D. r=mattwoodrow
2014-11-02 15:41:08 +00:00
Jonathan Watt
f6f8d40041
Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow
2014-11-01 10:45:10 +00:00
Jonathan Watt
53f338200b
Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth
2014-11-01 10:45:09 +00:00
Jonathan Watt
bd8ce02037
Bug 1091321, part 6 - Convert nsSVGUtils::PaintFrameWithEffects and related code from nsRenderingContext to gfxContext. r=longsonr
2014-10-31 20:08:54 +00:00
Jonathan Watt
bf49eb7f25
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Jonathan Watt
eed40293e3
Bug 1090614 - Make nsCSSRendering::PaintBoxShadowOuter construct a Moz2D Path to do its clipping. r=mattwoodrow
2014-10-31 11:16:27 +00:00
Lebedev Maksim
2a70319715
Bug 1073563 - Test for async lostpointercapture event. r=smaug
2014-10-08 01:35:00 +02:00
John Schoenick
1218c93b60
Bug 1090530
- Ensure that we unregister preference observers in nsPresContext unlink. r=roc
2014-10-30 14:49:01 -07:00
Ting-Yu Lin
28b793e2e8
Bug 1090785 - Migrate to NSPR logging for touch caret. r=roc
2014-10-29 01:37:00 +01:00
Chris Pearce
1699179c49
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Ryan VanderMeulen
a4bc246b14
Merge m-c to inbound. a=merge
2014-10-29 16:51:39 -04:00
Ryan VanderMeulen
6de5c1cb7e
Merge inbound to m-c. a=merge
2014-10-29 16:49:04 -04:00
Ryan VanderMeulen
6eb0341ccc
Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
...
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00