Morris Tseng
b7bd9a936c
Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
...
--HG--
extra : rebase_source : 9e343626d67f6d9d4435535e3d10535ca1006cf0
2014-11-10 02:04:00 -05:00
Morris Tseng
2f2f7fc544
Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
...
--HG--
extra : rebase_source : 23e1c11c1a89a5e5fa4d80af6abace7d1c7e2012
2014-11-10 02:03:00 -05:00
Ting-Yu Lin
de2e32e0d8
Bug 1094607 - Move scroll observer logic to SelectionCarets. r=roc
2014-11-05 22:00:00 +01:00
Xidorn Quan
9799359f36
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
404d8a0fd5
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
520d67c9ca
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
ab38070c5d
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
e13922053c
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
fc1b004739
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
ea9a16d713
Backed out changeset f1989cb41965 (bug 1093686) for B2G Desktop Linux opt m1 test failures
2014-11-06 16:42:36 +01:00
Kartikaya Gupta
7b39bcb7b0
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
0d8a3614cc
Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc
2014-11-06 08:05:51 -05:00
Kartikaya Gupta
27a08bcfcb
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
a2df3aacb9
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
fec9174a9b
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
c2d5639aae
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
d0f1ae646e
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
c72141ba76
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
7d45b99ff8
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
50bd448572
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
997000fd40
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
ba4692a8b6
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
238eaf381a
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
61134326e0
Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt
2014-11-04 14:52:27 +00:00
Jonathan Watt
1f1669f782
Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
...
--HG--
extra : rebase_source : 6db1d646f09b563b40208ba8bacdf3743fbe1ba7
2014-11-04 09:53:05 +00:00
Kartikaya Gupta
65cae77ec6
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
e031ed5462
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
f3de49f29d
Bug 1092222, part 4 - Port nsCSSRenderingBorders fill painting to use Moz2D directly. r=roc
2014-11-03 10:03:11 +00:00
Jonathan Watt
f0cd135dd6
Bug 1092222, part 3 - Convert nsCSSRenderingBorders from Thebes to Moz2D basic types. r=roc
2014-11-03 10:03:09 +00:00
Jonathan Watt
15a8e15ca2
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
d4b059aa6d
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
55bc8bc174
Bug 989198, Patch 9: Fix warning, r=smaug.
2014-11-03 15:06:10 +08:00
Gina Yeh
951ffe59de
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jesse Ruderman
fd6a617956
Bug 416107 - crashtest.
2014-11-02 22:47:01 +00:00
Jesse Ruderman
2ffca0f9a3
Bug 403454 - crashtest.
2014-11-02 22:47:01 +00:00
Nils
f3ac364b93
Bug 817219 - crashtest.
2014-11-02 16:47:26 +00:00
Nils
02f8dcb1f9
Bug 876221 - crashtest.
2014-11-02 16:47:26 +00:00
Mats Palmgren
3bbc287379
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
3b3df6f273
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
64dbf8e193
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
d62793fbe9
Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow
2014-11-01 10:45:10 +00:00
Jonathan Watt
df99c4ebbf
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
6400c081ee
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
1151d6d34f
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Jonathan Watt
8615a064e6
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
781f4e9ae5
Bug 1073563 - Test for async lostpointercapture event. r=smaug
2014-10-08 01:35:00 +02:00
John Schoenick
3684ba717b
Bug 1090530
- Ensure that we unregister preference observers in nsPresContext unlink. r=roc
2014-10-30 14:49:01 -07:00
Ting-Yu Lin
5f94b5654e
Bug 1090785 - Migrate to NSPR logging for touch caret. r=roc
2014-10-29 01:37:00 +01:00
Chris Pearce
e264dccc4f
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Ryan VanderMeulen
bcc3ab5ec1
Merge m-c to inbound. a=merge
2014-10-29 16:51:39 -04:00