Commit Graph

23925 Commits

Author SHA1 Message Date
Kartikaya Gupta
ef3e0582eb Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond 2014-11-14 07:40:14 -05:00
Carsten "Tomcat" Book
a1c255441d merge fx-team to mozilla-central a=merge 2014-11-14 13:13:42 +01:00
Gregory Szorc
4ae6bb6448 Bug 1098135 - Convert some rules to misc tier; r=glandium
--HG--
extra : rebase_source : 1a486bf0ff2e5b3be637f3725cd04b6073e074b8
2014-11-13 19:30:21 -08:00
Ryan VanderMeulen
f177331c14 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Ting-Yu Lin
4e6fe284fc Bug 1097094 - Keep a WeakPtr to nsDocShell in SectionCarets. r=roc
When SelectionCarets::Terminate() is called, it's not guaranteed that we
can get nsDocShell from PresContext. It causes that SelectionCarets
cannot remove itself as an observer.

To fix this, we keep a member WeakPtr<nsDocShell> so that we can always
have nsDocShell in SelectionCarets::Terminate().
2014-11-13 08:32:00 -05:00
Morris Tseng
ca0f216c74 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Carsten "Tomcat" Book
3c9e87d1cf Merge mozilla-central to fx-team 2014-11-13 16:27:00 +01:00
Carsten "Tomcat" Book
0bb8792e06 Backed out changeset e36492ae23a6 (bug 1094434) for Android Reftest Failures on a CLOSED TREE 2014-11-13 12:04:06 +01:00
Carsten "Tomcat" Book
3e46a79990 Backed out changeset 13167bb74be0 (bug 1094434) 2014-11-13 12:03:23 +01:00
Carsten "Tomcat" Book
f8a9a0cf8d Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
b4345a9bb4 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
5b163a6b8b Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jonathan Kew
f9f1cbb7a7 Bug 1094434 - Reftests for display of resizer on vertical-lr and vertical-rl textareas. r=roc 2014-11-13 09:12:53 +00:00
Jonathan Kew
9297d10d65 Bug 1094434 - Render resizer appropriately for vertical-lr and vertical-rl writing modes. r=roc 2014-11-13 08:58:06 +00:00
Jonathan Kew
4d8e08f61a Bug 1093553 - Followup to fix positioning of the caret with writing-mode:vertical-lr and text-orientation:sideways-right. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
05381c64c7 Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
47179629c0 Bug 1090159 - Reftest for erratic baseline in vertical-rl mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
978c0c0e62 Bug 1090159 - Correct baseline alignment in vertical-rl writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
e1413e8280 Bug 1091058 - Reftest for underlining of vertical writing-mode spans. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
5c4f8dd3ec Bug 1091058 - Fix positioning of text-decoration lines in vertical writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
4216d33bf8 Bug 1090168 - Reftests for textBaseline support in <canvas> vertical writing-mode text. r=jdaggett 2014-11-13 08:58:05 +00:00
Jonathan Kew
ecfeb14da7 Bug 1093165 - Include the text-orientation value in WritingMode, and add the IsSideways flag for baseline decisions. r=smontagu 2014-11-13 08:58:04 +00:00
Jonathan Kew
28c4b6d041 Bug 1088025 - Reftest for positioning of lines within paragraphs in a vertical-rl block. r=dbaron 2014-11-13 08:58:04 +00:00
Jonathan Kew
94094fa64d Bug 1088025 - part 2 - Fix up block-dir position of lines in a vertical-rl block once we know the final block size (container width) needed to map to physical coordinates. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
667814f127 Bug 1088025 - part 1 - Ensure nsBlockReflowState has a constrained mContainerWidth before we reflow lines into the container. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
222964d6a8 Bug 1089581 - Convert nsLineBox::SlideBy to use logical coordinates. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
30e4cc2ac6 Bug 1089388 - Reftests for nsBlockFrame::SlideLine in vertical writing modes. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
2c9e0fd3fd Bug 1089388 - Followup to add a LogicalPoint version of nsIFrame::MovePositionBy, and use this in SlideLine. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
99b6e118ba Bug 1089388 - Convert nsBlockFrame::SlideLine to use logical coordinates. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
dc16705c84 Bug 1094914 - Reftest for margins and writing-mode of an inline block. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
4c4e63d6fc Bug 1094914 - part 2 - Store margins and borders using line's writing mode in perFrameData, to avoid writing-mode conversions. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
78210ff4b2 Bug 1094914 - part 1 - Don't confuse frame and line writing-modes in nsLineLayout. r=smontagu 2014-11-13 08:58:02 +00:00
L. David Baron
4120161816 Bug 1086937 patch 3 - Add test for animations continuing across a user font set update. r=birtles
I confirmed that without patch 2, the third and fourth tests fail
(reporting -1000px), whereas with the patches all 4 tests pass.
2014-11-12 23:28:52 -08:00
L. David Baron
771a066d41 Bug 1086937 patch 2 - Use eRestyle_ChangeAnimationPhaseDescendants to get the right style data in RestyleManager::RebuildAllStyleData. r=birtles
Until we get rid of animation phases in bug 960465, we need to ensure
we're producing style data for the correct animation phase.  This makes
this optimization slightly less beneficial until then.
2014-11-12 23:28:52 -08:00
L. David Baron
a8e8f8637b Bug 1086937 patch 1 - Add eRestyle_ChangeAnimationPhaseDescendants restyle hint that is like eRestyle_ChangeAnimationPhase, but for a whole subtree. r=birtles 2014-11-12 23:28:52 -08:00
L. David Baron
387d8bbbf3 Bug 1086937 patch 0 - Add missing null check of root element so this patch series doesn't expose a crash in layout/style/crashtests/472237-1.html . r=birtles 2014-11-12 23:28:52 -08:00
Botond Ballo
c54c9d42eb Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
27647aabec Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Xidorn Quan
5b9130ac58 Bug 1096152 - Use frame instead of content to track break position. r=dbaron
--HG--
extra : amend_source : efab3508002471ed24c629d13985bca4fe4a1376
2014-11-14 16:41:14 +11:00
Matt Woodrow
5d00b8cc27 Bug 1097441 - Use SetScaleToSize for scaling videos so that it works for asynchronous size changes. r=roc 2014-11-12 17:11:53 +13:00
Daniel Holbert
ef419fe57d Bug 1098558: Remove unused constant NS_STYLE_DIRECTION_INHERIT. r=smontagu 2014-11-13 15:50:39 -08:00
Daniel Holbert
8c7cc1b194 Bug 1098551: Use nsBidiLevel (instead of uint8_t) to capture result of functions that return nsBidiLevel. r=smontagu 2014-11-13 14:53:17 -08:00
Cameron McCormack
a08ed57e69 Bug 1096808 - Reload ua.css when ruby pref changes. r=bzbarsky 2014-11-14 09:11:20 +11:00
Cameron McCormack
6f9094eb37 Bug 1068477 - Add pref callback to style sheet cache to handle UA style sheet reloads. r=bzbarsky 2014-11-14 09:11:19 +11:00
Botond Ballo
2105a1529d Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
df8b0f8a7a Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Botond Ballo
2124b8b94c Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
08963b106d Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Gijs Kruitbosch
aa73d833f2 Bug 989947 - disable popups during modal alerts on OS X, r=bz 2014-11-12 17:05:29 +00:00
Jim Mathies
82ebe73e37 Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc 2014-11-12 14:59:20 -06:00
Jim Mathies
16fae775ad Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Robert O'Callahan
8dda40ff1a Bug 1092842. When setting cliprects on background color display items, don't shrink them to exclude opaque borders (unless there's nonzero border-radius). r=mattwoodrow
By not excluding opaque borders from the display item cliprects, we produce
a larger opaque area for opaque background items.

--HG--
extra : rebase_source : 4e27157c2b60d1a0386a4db681dd8f1e741b61fd
2014-11-12 20:53:03 +13:00
Robert O'Callahan
22b144ff56 Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Robert O'Callahan
d953de401e Bug 1096181. Recompute overflow areas of transformed elements when a parent element with perspective is scrolled. r=mattwoodrow
--HG--
extra : rebase_source : 249eb13623ef78c847a4e98602a8372cdeb27381
2014-11-12 18:08:27 +13:00
Ryan VanderMeulen
a86f2ba6cd Backed out changesets c61c91ea40fe and 8ac5fed37830 (bug 1071769) for causing frequent Android reftest failures.
--HG--
extra : rebase_source : c0b340f22ab24456272451a88aea302b0f19026b
2014-11-12 11:34:57 -05:00
Bas Schouten
725f7cbb33 Bug 1097628: Mark tests as fuzzy with D2D even when Canvas & Content backends are identical. r=jwatt 2014-11-12 15:05:14 +00:00
Maksim Lebedev
37e32248e2 Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug 2014-11-11 08:29:00 +01:00
Maksim Lebedev
09fa9beb22 Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
Morris Tseng
4020b5f61e Bug 1094056 - Use nsCaret::GetGeometryForFrame to determine position of selection carets. r=roc 2014-11-11 22:54:00 +01:00
Ting-Yu Lin
a6797853d9 Bug 1073457 - Launch long tap detector when APZ isn't enabled. f=mtseng, r=roc
LaunchLongTapDetector() is used to fire long tap to select word when
async pan zoom is not enabled. We should check if async pan zoom is
enabled rather than check whether it's on main process.

This can also fix selection carets not working on e10s.
2014-11-10 00:29:00 +01:00
Carsten "Tomcat" Book
32825b590d Backed out changeset 357b7bb14462 (bug 1083004) for frequent b2g m-9 test failures 2014-11-12 11:26:12 +01:00
Carsten "Tomcat" Book
1c2a463484 Backed out changeset 61fa2ff606b8 (bug 1083004) 2014-11-12 11:25:51 +01:00
Matt Woodrow
36e79c86d8 Backed out changeset f96fe425680e for cuasing OSX reftest failures 2014-11-12 21:43:47 +13:00
Matt Woodrow
a3c1628363 Bug 1097441 - Use SetScaleToSize for scaling videos so that it works for asynchronous size changes. r=roc
--HG--
extra : rebase_source : c18b17e8b146aa8a7cebc4125fd0dc86fb20f882
2014-11-12 17:11:53 +13:00
Daniel Holbert
edade3ea6b Bug 1097488: Honor 'object-fit' & 'object-position' in UA stylesheets even if they're preffed off, and remove no-longer-necessary @supports guard. r=heycam 2014-11-11 22:49:15 -08:00
Xidorn Quan
05c9cf167b Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-12 17:31:37 +11:00
Xidorn Quan
ccaf23b377 Bug 1083004 - Fix crashes for tests. r=dbaron 2014-11-12 17:31:31 +11:00
Xidorn Quan
ba90088e5a Bug 1088489 - Meet the specification for pseudo ruby box generation. r=bz 2014-11-12 14:44:36 +11:00
Karl Tomlinson
e04362ca98 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
8395221632 bug 1096131 clarify docs for LayoutDevicePixels and LayerPixels r=kats f=tn
--HG--
extra : rebase_source : c2e854a7af06abbfcd9bb95fef3ac241472b88b5
2014-11-08 12:39:42 +13:00
Karl Tomlinson
b61db0deda bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
1085e66407 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
L. David Baron
3771d286c3 Bug 1087541 - Make RuleNodeWithReplacement handle animations and transitions like RulesMatching codepath does. r=birtles
I originally wrote this to see if it would fix bug 1086937, but it
didn't.

Note that this conflicts a bit with the patch in bug 1085769; whoever
lands second will have some merging (though it shouldn't be difficult).

The updating of the style rule is needed as part of the animation-only
style update, but it shouldn't be in the general restyling code, so it
has moved there.
2014-11-11 15:42:57 -08:00
Christoph Kerschbaumer
cdfd7da04c Bug 1089912: Part 2, move mixedcontentblocker into dom/security (r=tanvi,jst)
--HG--
rename : dom/base/nsMixedContentBlocker.cpp => dom/security/nsMixedContentBlocker.cpp
rename : dom/base/nsMixedContentBlocker.h => dom/security/nsMixedContentBlocker.h
2014-10-28 09:44:11 -07:00
Christoph Kerschbaumer
55e70e5a93 Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst)
--HG--
rename : dom/base/nsIContentSecurityPolicy.idl => dom/interfaces/security/nsIContentSecurityPolicy.idl
rename : dom/base/nsCSPContext.cpp => dom/security/nsCSPContext.cpp
rename : dom/base/nsCSPContext.h => dom/security/nsCSPContext.h
rename : dom/base/nsCSPParser.cpp => dom/security/nsCSPParser.cpp
rename : dom/base/nsCSPParser.h => dom/security/nsCSPParser.h
rename : dom/base/nsCSPService.cpp => dom/security/nsCSPService.cpp
rename : dom/base/nsCSPService.h => dom/security/nsCSPService.h
rename : dom/base/nsCSPUtils.cpp => dom/security/nsCSPUtils.cpp
rename : dom/base/nsCSPUtils.h => dom/security/nsCSPUtils.h
2014-10-27 16:58:20 -07:00
Ryan VanderMeulen
3b01e527e7 Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
CLOSED TREE
2014-11-11 13:10:56 -05:00
Daniel Holbert
2c707f2d53 Bug 1041075 followup: Request even-longer timeout for test_value_storage.html. r=dbaron 2014-11-11 08:46:49 -08:00
Daniel Holbert
76054b5e43 (no bug) Minor whitespace cleanup in nsImageFrame.cpp. whitespace-only, so DONTBUILD 2014-11-11 08:46:06 -08:00
Frédéric Wang
dc41047d05 Bug 619521 - Part 3: Send a notification for missing math fonts. r=jkitch 2014-11-11 02:37:00 -05:00
Jonathan Kew
f99a9f0726 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-11-07 06:32:00 -05:00
Olli Pettay
161ed19bd4 Bug 1096076 - [E10s] When resizing a window, all the tabs are resized, r=roc 2014-11-11 00:38:28 +02:00
Jonathan Kew
0ef872b668 Bug 1096260 - Convert flags parameter of nsIFrame::ComputeSize from uint32_t to a typed enum, and update callers accordingly. r=dholbert 2014-11-11 11:02:41 +00:00
Carsten "Tomcat" Book
ef05c06bd3 Backed out changeset a263c8cfb04f (bug 1083004) for m5 test failures 2014-11-11 08:14:42 +01:00
Xidorn Quan
59930567cd Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-11 16:41:58 +11:00
Cameron McCormack
5e52aa2468 Bug 1092570 - Avoid exposing FontFace(Set) constructors when the Font Loading API pref is not set. r=bzbarsky 2014-11-11 14:53:55 +11:00
Wes Kocher
7cb16d8094 Backed out 3 changesets (bug 1092888) for marionette bustage on a CLOSED TREE
Backed out changeset eeff2ff03d39 (bug 1092888)
Backed out changeset c25a6fd7903f (bug 1092888)
Backed out changeset e4e735cdd665 (bug 1092888)
2014-11-10 14:47:52 -08:00
Seth Fowler
cb094a2eed Bug 1091229 - Make nsBulletFrame block onload when it loads images. r=tn
--HG--
extra : rebase_source : e6b4ed67cab9d0d674a6a5f194c14c7362723440
2014-11-10 13:37:49 -08:00
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
Robert Longson
72d6142461 Bug 1093327 - Correct marker orientation of polygon and polylines. r=cam 2014-11-10 14:40:43 +00: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
b5fe55c53e Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-10 12:25:17 +11:00
Xidorn Quan
94a70d28bc Bug 1063857 - Improve selecting on justified characters. r=roc 2014-11-10 12:25:09 +11: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
Benjamin Peterson
43ec6edaab No bug - Remove extra words to make the sentence coherent. r=me 2014-11-09 13:45:27 -05:00
Benjamin Peterson
d026382a5c No bug - fix typo r=me 2014-11-08 14:35:00 -05:00
Seth Fowler
bc3fd9cc71 Bug 969406 - Make ImageLoader force painting on FRAME_COMPLETE but not FRAME_CHANGED. r=mattwoodrow 2014-11-07 15:40:12 -08: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
Brian Marshall
c80576c37a Bug 346043 - Reset selected index correctly after closing drop-down menu. r=roc 2014-11-05 12:32:00 -08: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
Frédéric Wang
f8c55b33a4 Bug 1002526 - Part 4 - Add a reftest for MathML and font inflation. b=1002526. r=jkitch 2014-11-05 23:33:00 +01:00
James Kitchener
855089149e Bug 1002526 - Part 3 - MathMLTextRunFactory needs to now about font inflation. r=roc 2014-11-05 11:58:00 +01:00
Frédéric Wang
ffd3246256 Bug 1002526 - Part 2 - Pass the font inflation parameter to nsMathMLChar. b=1002526. r=karl 2014-10-25 08:30:00 +02:00
Frédéric Wang
b21bcd9fd2 Bug 1002526 - Part 1 - Pass the font inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. b=1002526. r=karl 2014-10-25 08:29:00 +02:00
Jean-Yves Avenard
696b8cecdc Bug 1065827 - Use onloadeddata event for reftests. r=jwwang 2014-11-06 20:55:03 +11:00
Seth Fowler
4bb8da9c27 Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Jonathan Watt
3debcc4e0c Bug 1094063 follow-up - Add some fuzz for unaccelerated Windows for curved-border-background-nogap.html. a=kwierso 2014-11-07 01:15:56 +00:00
Jonathan Watt
c03e5abf3b Bug 1094163 - Rename nsSVGUtils::GetOpacity's aOuterContextPaint argument to avoid confusion. r=longsonr
--HG--
extra : rebase_source : ff8c8e6703ac3525032f4638aa016bce71295076
2014-11-06 22:07:36 +00:00
Jonathan Watt
1a491272ec Bug 1094063, part 2 - Remove most of the fuzzing that was added in bug 1091787 part 1.
--HG--
extra : rebase_source : 11229624b22bfc19946b13bb69d6a2912a220186
2014-11-06 22:07:36 +00: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
Jonathan Watt
8a44c2ac76 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +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
Carsten "Tomcat" Book
1b66ea664a Backed out changeset 4467ecf7bc6b (bug 1065827) 2014-11-06 14:59:01 +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
Jean-Yves Avenard
f0b9c6a4fb Bug 1065827 - Use onloadeddata event for reftests. r=jwwang 2014-11-06 20:55:03 +11:00
Robert Longson
3ba072d1e7 Bug 1090936 - Make invalidation of rendering observers asynchronous. r=jwatt 2014-11-06 09:30:11 +00:00
Jonathan Kew
1f55b40c9b Bug 1093949 - Reverse scroll position for RTL content. r=mats 2014-11-06 09:06:22 +00: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
John Daggett
b5db07d5ae Bug 475891 - reftests for unicode-range. r=jfkthame 2014-11-06 13:43:51 +09:00
John Daggett
2bf063af98 Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame 2014-11-06 13:42:50 +09:00
Mike Hommey
090834ccfd Bug 1094037 - Move EXTRA_COMPONENTS and EXTRA_PP_COMPONENTS to the misc tier. r=gps 2014-11-06 09:29:11 +09:00
Daniel Holbert
6ef5776e05 Bug 1094360: Move nsRuleNode::ComputeTextData's chunk for 'mControlCharacterVisibility' down, to match the style struct's member-var ordering. r=roc 2014-11-05 16:08:30 -08:00
Xidorn Quan
c3cb8e27e9 Bug 1094460 - Reorder KTables in nsCSSProps. r=dholbert
--HG--
extra : rebase_source : ccd2b7160158737c2c5fc0434eae5f2efeea428c
2014-11-06 10:14:49 +11:00
Felipe Gomes
7149c6accb Bug 1093691 - Part 3. Safeguard Mochitest, Reftest from e10s-on-nightly pref. r=gavin 2014-11-05 02:15:16 -02:00
Xidorn Quan [:xidorn]
c6102fe059 Bug 1085311 - Vertical writing-mode support for single-line <input> fields. r=jfkthame 2014-11-04 15:45:00 +01:00
Chris Lord
92c2022f68 Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
Jonathan Watt
4358a27d3c Bug 1093066 - Get rid of gfxContext's Stroke() methods. r=mattwoodrow 2014-11-05 09:16:37 +00:00
Pankaj Malhotra(:bitgeeky)
d146c5b08b Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Robert O'Callahan
628c45fc97 Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
cdb7a37f1a Bug 1080205. Part 1: Don't add clip rects to async-scrolled layers for root scrollframes, since the FrameMetrics to scroll those layers will be set on a ContainerLayer parent. r=tn
--HG--
extra : rebase_source : b8fc0e3c97d5be50443734ed80caafabd37cf1a3
2014-10-28 17:34:58 +13:00
Robert O'Callahan
e2ca2f2598 Bug 1083635. Part 6: Rename viewport to scrollport in ScrollFrameHelper::ComputeFrameMetrics. r=mattwoodrow
--HG--
extra : rebase_source : 188a2ddd979eacdcfee18b700d6c4f0c2ced48a0
2014-10-21 10:32:11 +13: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
Armen Zambrano Gasparnian
8d30e1313d Bug 1043699 - Add Mulet reftests support. r=jgriffin 2014-11-04 09:18:27 -05:00
Chris Lord
6162d0f241 Bug 974125 - Use RepaintFrame change hint for will-change. r=dbaron 2014-10-30 15:12:11 +00:00
Carsten "Tomcat" Book
8d1cd96b80 Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures 2014-11-04 10:59:46 +01: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
Xidorn Quan
535d6e637b Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-02 15:07:00 +01:00
Ryan VanderMeulen
4402a94e8d Bug 891840 - Re-enable test_pixel_lengths.html now that the underlying platform bug has been fixed. r=me
--HG--
extra : rebase_source : 896d2b1f078ade77d5d99b6f2b00759242d0eb34
2014-11-03 17:09:41 -05:00
Vaibhav Agrawal
1ab18000f4 Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown 2014-11-03 12:01:51 -08:00
Rik Cabanier
a15ff61f2f Bug 1092264 - Fix testing of 'isolation' property. r=dbaron 2014-11-03 10:13:13 -08:00
Bill McCloskey
17b35316ca Bug 1090627 - [e10s] Fix broken fuzzy annotation in reftest (r=dbaron) 2014-11-03 07:10:28 -08:00
Bill McCloskey
47e2914482 Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08: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
Gabor Krizsanits
eb20a2444f Bug 1079185 - Using GetFlattenedTreeParent in GetParentForNode. r=bz 2014-11-03 12:16:41 +01: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
Martijn Wargers
72149a1197 Bug 407152 - crashtest. 2014-11-02 22:47:01 +00:00
Jesse Ruderman
2ffca0f9a3 Bug 403454 - crashtest. 2014-11-02 22:47:01 +00:00
Jesse Ruderman
54e2c78df3 Bug 400190 - crashtest. 2014-11-02 22:47:00 +00:00
Martijn Wargers
03e000ded3 Bug 386642 - crashtest. 2014-11-02 22:47:00 +00:00
Martijn Wargers
8bb7b07f7c Bug 384373 - crashtests. 2014-11-02 22:47:00 +00:00
Martijn Wargers
6b3fdafcaa Bug 373400 - crashtests. 2014-11-02 22:47:00 +00:00
Jesse Ruderman
3cd8d82ffb Bug 370710 - crashtest. 2014-11-02 22:47:00 +00:00
Nils
f3ac364b93 Bug 817219 - crashtest. 2014-11-02 16:47:26 +00:00
Nils
5ec455c1f5 Bug 898871 - 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
Phil Ringnalda
e2eee0a3e3 Back out b327975e972b (bug 891840) for moving test_bluetooth.html into a b2g debug mochitest chunk where it doesn't want to run half the time 2014-11-01 19:44:43 -07:00
stefanh@inbox.com
4d0ef73c27 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Jonathan Watt
8807fa6f42 Bug 1077355 - Stop over inflating for stroke-miterlimit in nsSVGUtils::PathExtentsToMaxStrokeExtents. r=longsonr 2014-11-01 10:45:10 +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
Ryan VanderMeulen
9004afee41 Bug 891840 - Re-enable test_pixel_lengths.html now that the underlying platform bug has been fixed. r=me
--HG--
extra : rebase_source : 576d08968224eceb6f90c0e85f364d1d8fdb2f8c
2014-10-31 21:31:26 -04:00
Jonathan Watt
80ae57a020 Bug 1091321, part 7 - Convert nsSVGFilterPaintCallback and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:54 +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
daff5dd1aa Bug 1091321, part 5 - Convert nsSVGMarkerFrame::PaintMark and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:54 +00:00
Jonathan Watt
b067686307 Bug 1091321, part 4 - Convert nsISVGChildFrame::PaintSVG and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:54 +00:00
Jonathan Watt
4126cdef53 Bug 1091321, part 3 - Convert nsFilterInstance::PaintFilteredFrame and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:54 +00:00
Jonathan Watt
293d04f8bc Bug 1091321, part 2 - Convert nsSVGIntegrationUtils::PaintFramesWithEffects and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:53 +00:00
Jonathan Watt
b0a33398bc Bug 1091321, part 1 - Convert nsSVGClipPathFrame::ApplyClipOrPaintClipMask and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:53 +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
Wes Kocher
a7798a8f83 Backed out changeset 4ed63d7489fe (bug 1087541) for b2g mochitest-9 failures 2014-10-30 14:56:03 -07: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
Wes Kocher
e357edf364 Bug 1090555 - Disable test on mulet r=me 2014-10-30 14:10:07 -07:00
Bill McCloskey
fdf2b7da7e Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
L. David Baron
bd70229400 Bug 1090626 - Rename result of IsChineseOrJapanese from isCJK to isCJ, to avoid misleading, since it does not include Korean. r=jdaggett
Note that the name inside of IsJustifiableCharacter is already correct.
2014-10-30 11:27:45 -07:00
L. David Baron
f9254c3d2f Bug 1087541 - Make RuleNodeWithReplacement handle animations and transitions like RulesMatching codepath does. r=birtles
I originally wrote this to see if it would fix bug 1086937, but it
didn't.

Note that this conflicts a bit with the patch in bug 1085769; whoever
lands second will have some merging (though it shouldn't be difficult).
2014-10-30 11:27:45 -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
Kearwood (Kip) Gilbert
9c4ba6df7c Bug 1082098 - Part 2 - Tests. r=roc
- scroll-behavior-8.html - Tests if dynamically changing the scroll-behavior
  css property on a div element takes effect after the page has been painted and
  reflowed.
- scroll-behavior-9.html - Tests if dynamically changing the scroll-behavior
  on the body element takes effect after the page has been painted and
  reflowed.
2014-10-29 14:26:00 +01:00
Kearwood (Kip) Gilbert
1fe913b235 Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Jonathan Watt
75e42e9882 Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Carsten "Tomcat" Book
fba51e4e4e Backed out changeset 1aa71eb718f7 (bug 1090627) for b2g Reftest - 8 test failures 2014-10-30 08:43:28 +01:00
Bill McCloskey
09e6e96202 Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09: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
Kartikaya Gupta
a04a1ecc82 Bug 1090931 - Update logcat-filtering regex in reftest analyzer. r=dbaron
The logcat format used by tbpl jobs in some (maybe all) cases now has a
timestamp and other decorations at the beginning of the line. The regex that
was previously added to filter out reftest failure lines duplicated in logcat
no longer matches the lines correctly; this makes the regex more generic so that
the filtering works again.
2014-10-29 21:09:10 -04:00
Bill McCloskey
1a6c4ecaad Backout bug 1090627 on a CLOSED TREE 2014-10-29 16:09:43 -07:00
Bill McCloskey
57971be20d Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
Boris Zbarsky
cd481477eb Bug 1087801. Don't assume the global is a Window in the DOM CSS object. r=bholley 2014-10-29 17:00:48 -04:00
Ryan VanderMeulen
bcc3ab5ec1 Merge m-c to inbound. a=merge 2014-10-29 16:51:39 -04:00
Ryan VanderMeulen
d19a8ac7d7 Merge inbound to m-c. a=merge 2014-10-29 16:49:04 -04:00
Ryan VanderMeulen
903b6f89ef 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
Morris Tseng
969de71304 Bug 1088559 - Also dispatch NotifyAsyncPanZoomStarted/NotifyAsyncPanZoomStopped to nsDocShell's child. r=roc 2014-10-29 02:03:00 -04:00
Morris Tseng
4adb27481c Bug 1088552 - Change downPoint and movePoint from canvasframe's coordinate to rootframe's coordinate. r=roc 2014-10-28 18:25:00 -04:00
Alessio Placitelli
7cb286131b Bug 1087647 - Prevent ./mach reftest from looking for a debugger if one was not provided as an argument. r=ted.mielczarek 2014-10-29 03:30:00 -04:00
Jonathan Watt
9f3a575470 Bug 1090611 - Make nsCaret::PaintCaret take a Moz2D DrawTarget instead of nsRenderingContext. r=Bas 2014-10-29 17:07:11 +00:00
Jonathan Watt
1c4344fe0a Bug 1090607 - Port FrameLayerBuilder.cpp's DebugPaintItem helper to Moz2D. r=Bas 2014-10-29 17:07:11 +00:00
Carsten "Tomcat" Book
039dd8961e Backed out changeset 6cd46e671a9d (bug 1082098) for reftest failures 2014-10-29 13:01:37 +01:00
Carsten "Tomcat" Book
90528dc6ce Backed out changeset af957b6bf421 (bug 1082098) 2014-10-29 13:01:20 +01:00
Kearwood (Kip) Gilbert
a5dc071fe4 Bug 1082098 - Part 2 - Tests. r=roc
- scroll-behavior-8.html - Tests if dynamically changing the scroll-behavior
  css property on a div element takes effect after the page has been painted and
  reflowed.
- scroll-behavior-9.html - Tests if dynamically changing the scroll-behavior
  on the body element takes effect after the page has been painted and
  reflowed.
2014-10-23 17:10:00 +02:00
Kearwood (Kip) Gilbert
bda8b6fbd0 Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Brian Marshall
7ff2a511e8 Bug 82711 - Support CSS white-space property on textareas. r=bz 2014-10-28 10:33:15 -07:00
Ting-Yu Lin
91fc19cc0d Bug 1087190 - Add debug log to SelectionCarets. f=mtseng, f=pchang, r=roc 2014-10-29 01:16:00 +01:00
Robert O'Callahan
87c06a002c Bug 1088498. Treat anchor offsets just less than 0.5 as 0.5 when rounding. r=seth 2014-10-29 15:08:40 +13:00
Robert O'Callahan
d581d9a17c Bug 1052900. Restore -moz-win-exclude-glass handling to the way it worked before. r=tn 2014-10-29 12:33:52 +13:00
Carsten "Tomcat" Book
0768a8a3a4 Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-10-29 13:42:47 +01:00
Ting-Yu Lin
75837a9328 Bug 1059165 - Part 5 - Fix existing test failures. r=ehsan
These tests all involving focusing on an empty element. Touch caret will
not show under the new touch caret UI spec. Therefore, I fix them by
disabling touch caret when running those tests.
2014-10-28 06:04:00 +01:00
Ting-Yu Lin
985494b389 Bug 1059165 - Part 4 - Add test_touchcaret_visibility.html. r=ehsan 2014-10-28 06:02:00 +01:00
Ting-Yu Lin
3b4aaaf44c Bug 1059165 - Part 3 - Do not show touch caret when content is empty. r=ehsan
We want HasNonEmptyTextContent() to descend recursively into editingHost
since <div contenteditable="true"><span>123</span></div> should be
considered as non-empty.
2014-10-29 00:34:00 +01:00
Ting-Yu Lin
046e1783e2 Bug 1059165 - Part 1 - Always sync visibility for touch caret. r=ehsan
We should sync touch caret's visibility with caret every time since
touch caret might be hidden due to timeout while caret is enabled. Also
remove dead code.
2014-10-28 06:01:00 +01:00
Daniel Holbert
53a599c9a6 Bug 1081072 test followup: Allow scrollbar fading for this bug's reftest, to have a chance of reproducing the bug in affected builds. (test-only, no review) 2014-10-24 12:40:25 -07:00
Jonathan Watt
4c12cb4ba5 Bug 1085529, part 2 - Port nsCSSRendering::PaintDecorationLine() to Moz2D. r=mattwoodrow 2014-10-26 01:15:26 +01:00
Ryan VanderMeulen
09c69a8d87 Merge inbound to m-c. a=merge 2014-10-28 16:10:05 -04:00
Ryan VanderMeulen
a226581889 Merge fx-team to m-c. a=merge 2014-10-28 16:02:50 -04:00
Ryan VanderMeulen
acb98a9d59 Bug 1089857 - Bump the allowed assertions for 944909-1.html to 8. rs=mats 2014-10-28 16:02:05 -04:00
Carsten "Tomcat" Book
865fe75c40 Merge mozilla-central to fx-team 2014-10-28 16:15:00 +01:00
Patrick Brosset
695f157138 Bug 1020244 - Ability to insert AnonymousContent nodes in the canvasFrame via a chrome-only Document API; r=smaug; r=roc; r=ehsan 2014-10-28 11:15:25 +01:00
Wes Kocher
203734c9b5 Merge fx-team to m-c a=merge 2014-10-27 17:49:25 -07:00
Ryan VanderMeulen
8c1e5ba605 Backed out changesets 94c5f5317e4b, f43962d6b41e, and 6e0a13090cd8 (bug 1074736) for various carat-related Marionette failures.
--HG--
extra : rebase_source : e26c24158df6cc8198ca57f505028a1f82aa7264
2014-10-27 15:39:44 -04:00
Mats Palmgren
731347dd57 Bug 1089002 - Replace 'appname' with 'app'. r=nalexander
Fixes:

./mach reftest error: runreftest.py: error: could not find the application path, --appname must be specified

--HG--
extra : rebase_source : 75c3c9ef00bceb0da418cdb592e736478dd442cb
2014-10-24 17:27:00 -07:00
timeless@bemail.org
b2034fd10d Bug 620275 - Remove an unnecessary null-check. r=bz 2014-10-24 17:08:00 +02:00
James Kitchener
4dc4c676bc Bug 727804 - Add another mfenced fence size testcase r=fredw 2014-10-24 19:08:00 +02:00
Morris Tseng
a15cf8e213 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-26 20:47:00 +01:00
Morris Tseng
547c9ef4f3 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
Nicholas Nethercote
0489de37fb Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Jonathan Watt
68a8947f76 Bug 1080688 - Calculate SVG rect bounds using a simple rect transform rather than using a Moz2D Path. r=longsonr 2014-10-26 18:00:03 +00:00
Jonathan Watt
5fcb13c0eb Bug 1088781 - Rename nsLayoutUtils::GetStringWidth to nsLayoutUtils::AppUnitWidthOfStringBidi. r=dholbert 2014-10-26 17:57:49 +00:00