Daniel Holbert
d5035d862f
Bug 1103184 part 2: Generate reftests for object-fit & object-position on <canvas>, as modified copies of existing <object> tests. (no review)
...
--HG--
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002c.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-001o.html => layout/reftests/w3c-css/submitted/images3/object-position-png-001c.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-002o.html => layout/reftests/w3c-css/submitted/images3/object-position-png-002c.html
2014-11-26 19:43:39 -08:00
Daniel Holbert
0f8922ac4a
Bug 1103184 part 1: Honor "object-fit" & "object-position" on <canvas> element. r=roc
2014-11-26 19:43:36 -08:00
Ryan VanderMeulen
9e581b1d56
Merge m-c to inbound. a=merge
2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
b3ebe654a9
Merge b2g-inbound to m-c. a=merge
2014-11-26 21:39:08 -05:00
Ryan VanderMeulen
792273e467
Merge inbound to m-c. a=merge
2014-11-26 20:34:29 -05:00
Ryan VanderMeulen
fd6dfc1619
Backed out changeset 82fd2eef7630 (bug 1060869) because the rest of this bug was backed out and it seems to be causing OSX Gip(f1) to be near permafail.
2014-11-26 16:06:53 -05:00
Daniel Holbert
621d56400d
Bug 1104354: Give nsHTMLCanvasFrame its own GetIntrinsicSize() impl. r=mats
2014-11-26 11:29:49 -08:00
Kartikaya Gupta
a2bee51132
Bug 1105016 - Update tld to pld in debug logging. r=mstange
...
DONTBUILD because NPOTB
2014-11-26 13:58:15 -05:00
Jonathan Kew
1ec93d3e5c
Bug 1096224 - Reftest for margins on an orthogonal block. r=smontagu
2014-11-26 10:24:17 +00:00
Jonathan Kew
1c2aa200a8
Bug 1096224 - part 2 - Fix writing mode mismatch in margin calculation in PlaceBlock. r=smontagu
2014-11-26 10:24:16 +00:00
Jonathan Kew
6ce2710325
Bug 1096224 - part 1 - CalculateBlockSideMargins should be working in the containing block's writing mode. r=smontagu
2014-11-26 10:24:16 +00:00
Seth Fowler
6b72852771
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
2014-11-26 01:37:57 -08:00
Gina Yeh
c26019d4e0
Bug 1103836, Patch 1: No 'mozbrowserafterkeydown' event is dispatched after preventing the default actions of 'keydown' event, r=smaug.
2014-11-26 17:28:52 +08:00
Kartikaya Gupta
baccad357d
Bug 1104809 - When building display lists for non-stacking children don't discard the event regions. r=mstange,tn
2014-11-25 17:05:58 -05:00
Kartikaya Gupta
9b9c9319d4
Bug 1104809 - Log accumulation of event regions into a PaintedLayer. r=mstange,tn
2014-11-25 17:05:39 -05:00
Ryan VanderMeulen
dacb431abe
Merge m-c to b2g-inbound. a=merge
2014-11-25 17:01:49 -05:00
Kartikaya Gupta
8aafbd8234
Bug 1104099 - Exclude non-visible frames from the LayerEventRegions. r=mstange,tn
2014-11-25 15:26:48 -05:00
Kartikaya Gupta
3b921e945e
Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow
2014-11-25 08:45:20 -05:00
Kartikaya Gupta
4a94a25a0d
Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow
2014-11-25 08:45:19 -05:00
Masayuki Nakano
c56c9a574f
Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug
2014-11-25 14:02:31 +09:00
Carsten "Tomcat" Book
e9dfaef4ae
Backed out changeset 61b0f5391e9d (bug 1060869)
2014-11-25 14:13:53 +01:00
Trevor Saunders
1a013270b5
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Cameron McCormack
fdaf162ad8
Bug 1098270 - Null check curData in AddPendingRestyle to avoid crashing on style sheet updates in ShadowRoots outside of the composed document. r=dbaron
2014-11-27 09:47:52 +11:00
Blake Kaplan
e4c077f303
Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler
2014-11-26 14:28:28 -08:00
Seth Fowler
b8c1e93d1d
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
2014-11-26 13:22:10 -08:00
Seth Fowler
ab431799e2
Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
...
--HG--
extra : rebase_source : 64746ba9ac1dab008857aa5acbe8699b2de69f0b
2014-11-25 00:10:11 -08:00
Seth Fowler
626d39ccdc
Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn
2014-11-24 23:42:43 -08:00
Xidorn Quan
60b52c0071
Bug 1084183 - Test for text-decoration for ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Xidorn Quan
c23c15eb67
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Xidorn Quan
e464df4013
Bug 1052924 - Implement basic line breaking for ruby. r=dbaron
...
Known problem:
It would cause infinite loop if there is any line break happens inside
ruby base or annotation, or the width of container is not enough for
the widest pair/span. This might be fixed in bug 1098272.
2014-11-26 15:52:50 +11:00
Xidorn Quan
5f4cd8dd0b
Bug 1052924 - Separate reflow code. r=dbaron
2014-11-26 15:52:50 +11:00
Xidorn Quan
43f5510c25
Bug 1052924 - Give rbc & rtc correct position. r=dbaron
...
Important changes:
* Use line layout to reflow ruby base container
2014-11-26 15:52:49 +11:00
Xidorn Quan
d25178b0db
Bug 1052924 - Resolve some warnings. r=dbaron
...
Important changes:
* Change base class of nsRuby{Base,Text}Frame to nsInlineFrame
* Make ComputeSize of nsRubyFrame and nsRubyBaseContainerFrame behavior like inline frames
2014-11-26 15:52:49 +11:00
Xidorn Quan
c25136319a
Bug 1052924 - Rewrite reflow code. r=dbaron
...
Important changes:
* Avoid using GetPrefISize on the ruby texts in
nsRubyBaseContainerFrame::Reflow, since the size it produces might
not match the size produced by Reflow. The old code calls that on
all the ruby texts to determine how big they are, then reflows all
the ruby bases, and then reflows all the ruby texts. The new code
instead processes one pair at a time, and for each pair reflows the
ruby texts and then the ruby base.
* Change the base class of nsRubyTextContainerFrame from nsBlockFrame
to nsContainerFrame, and stop constructing an nsBlockReflowState for
its reflow.
* Move the code for reflowing ruby texts from nsRubyTextContainerFrame
and to nsRubyBaseContainerFrame.
* Fix the regression that ruby text containers contain span are not
reflowed properly. It is the regression introduced in patch 0.
Known regression:
* This patch drops centering ruby base and annotation in pairs. This
should be fixed in bug 1055676 (ruby-align).
2014-11-26 15:52:49 +11:00
Xidorn Quan
e254b3d884
Bug 1052924 - Add assertion and comments pointing out that ruby base container frames do not have an mBlockRS, but that's OK since they are never the containing block for floats. r=dbaron
2014-11-26 15:52:49 +11:00
Xidorn Quan
1fbb3167e6
Bug 1052924 - Treat ruby text containers as inline elements for the purposes of finding a font inflation container so that ruby text gets the same font inflation as its ruby bases. r=dbaron
2014-11-26 15:52:48 +11:00
Xidorn Quan
458a202ef8
Bug 1052924 - Use unified enumerators to simplify code. r=dbaron
2014-11-26 15:52:48 +11:00
Xidorn Quan
9b0f833e9c
Bug 1052924 - Rewrite pref isize and min isize computation. r=dbaron
...
Known regression:
This patch changes AppendTextContainer, and put aside text containers
which contain spanning annotations. This changes makes those text
containers not be reflowed by the current code. It will be fixed in
some later patch.
2014-11-26 15:52:48 +11:00
Xidorn Quan
0574ed0fc4
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz
2014-11-26 15:52:07 +11:00
Morris Tseng
c1af02f12b
Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
...
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Daniel Holbert
28cfe08fd0
Bug 1098417 part 5: Add reftests for anchor-point handling, with WebM videos & a range of "object-position" values. (no review)
...
--HG--
rename : layout/reftests/webm-video/generate-object-fit-video-tests.sh => layout/reftests/webm-video/generate-object-position-video-tests.sh
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-001-ref.html => layout/reftests/webm-video/object-position-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-001p.html => layout/reftests/webm-video/object-position-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-002-ref.html => layout/reftests/webm-video/object-position-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-002p.html => layout/reftests/webm-video/object-position-webm-002.html
2014-11-25 16:46:15 -08:00
Daniel Holbert
447cfc6303
Bug 1098417 part 4: Add reftests for anchor-point handling, with SVG images & a range of "object-position" values. (no review)
...
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/generate-object-position-png-tests.sh => layout/reftests/w3c-css/submitted/images3/support/generate-object-position-svg-tests.sh
2014-11-25 16:46:15 -08:00
Daniel Holbert
e440aa485d
Bug 1098417 part 3: Add reftests for anchor-point handling, with PNG images & a range of object-fit values. r=seth
...
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/generate-object-fit-png-tests.sh => layout/reftests/w3c-css/submitted/images3/support/generate-object-position-png-tests.sh
2014-11-25 16:46:15 -08:00
Daniel Holbert
82b8f74f2a
Bug 1098417 part 2: Make nsImageFrame pass "object-position"-determined anchor-point to DrawSingleImage. r=seth
2014-11-25 16:46:14 -08:00
Daniel Holbert
baf1513be2
Bug 1098417 part 1.5: Ignore computed anchor-point if 'object-fit' and 'object-position' are at their initial values, for backwards compat. r=seth
2014-11-25 16:46:14 -08:00
Daniel Holbert
c7ce74a52e
Bug 1098417 part 1: Add optional anchor-point arg to nsLayoutUtils::ComputeObjectDestRect() and nsLayoutUtils::DrawSingleImage(). r=seth
2014-11-21 18:25:46 -08:00
Andrew McCreight
b4794bdb85
Bug 1103107 - Don't Destroy() RenderFrameChild if it is already ActorDestroy()ed.
2014-11-25 16:14:19 -08:00
Daniel Holbert
6f9dea011b
Bug 1093316 part 2: Backout changeset af2a4fb980ad (i.e. backout bug 1032922 part 1), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
...
Landing on a CLOSED TREE with a=kwierso
2014-11-25 15:40:24 -08:00
Daniel Holbert
a03d3e37d5
Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
2014-11-25 11:28:15 -08:00
Daniel Holbert
4d0b72d499
Bug 624647 followup: Minor cleanup in nsVideoFrame::BuildLayer(); restore a local variable which shouldn't have been removed. (no review)
...
An earlier patch for this bug (changeset 466d3ff030e6) removed local variable
"nsRect area", but then ended up effectively re-creating it further down in the
function as "contentBoxRect". (I added contentBoxRect as a late-breaking
change, as part of addressing a review comment.)
I've now realized that contentBoxRect is the same rect as "area", and it's
simpler to just declare the original "area" rect at the function's start
instead of dynamically creating it further down.
(Not requesting review, since this is a no-functional-change tweak, which is
following up on a change that I'd made in response to review feedback on a r+'d
patch.)
2014-11-25 15:40:02 -08:00