Daniel Holbert
27dbf523b9
Bug 624647 reftests, part 3: Test 'object-fit' & 'object-position' properties with SVG images in various container elements. (no review because substantially similar to r+'d reftests part 1)
...
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/generate-object-fit-png-tests.sh => layout/reftests/w3c-css/submitted/images3/support/generate-object-fit-svg-tests.sh
2014-11-14 16:45:24 -08:00
Daniel Holbert
00ba1b5c3e
Bug 624647 reftests, part 2: Test 'object-fit' & 'object-position' properties with a WebM-backed <video> element. r=seth
...
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8.png => layout/reftests/webm-video/colors-16x8.png
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.png => layout/reftests/webm-video/colors-8x16.png
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001-ref.html => layout/reftests/webm-video/object-fit-contain-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001p.html => layout/reftests/webm-video/object-fit-contain-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002-ref.html => layout/reftests/webm-video/object-fit-contain-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002p.html => layout/reftests/webm-video/object-fit-contain-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001-ref.html => layout/reftests/webm-video/object-fit-cover-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001p.html => layout/reftests/webm-video/object-fit-cover-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002-ref.html => layout/reftests/webm-video/object-fit-cover-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002p.html => layout/reftests/webm-video/object-fit-cover-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001-ref.html => layout/reftests/webm-video/object-fit-fill-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001p.html => layout/reftests/webm-video/object-fit-fill-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002-ref.html => layout/reftests/webm-video/object-fit-fill-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002p.html => layout/reftests/webm-video/object-fit-fill-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001-ref.html => layout/reftests/webm-video/object-fit-none-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001p.html => layout/reftests/webm-video/object-fit-none-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002-ref.html => layout/reftests/webm-video/object-fit-none-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002p.html => layout/reftests/webm-video/object-fit-none-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001-ref.html => layout/reftests/webm-video/object-fit-scale-down-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001p.html => layout/reftests/webm-video/object-fit-scale-down-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002-ref.html => layout/reftests/webm-video/object-fit-scale-down-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002p.html => layout/reftests/webm-video/object-fit-scale-down-webm-002.html
2014-11-14 16:45:24 -08:00
Daniel Holbert
57d608224f
Bug 624647 reftests, part 1: Test 'object-fit' & 'object-position' properties with a PNG image in various container elements. r=seth
2014-11-14 16:45:24 -08:00
Daniel Holbert
da820542cf
Bug 624647 part 2: Honor "object-fit" & "object-position" in nsImageFrame, nsSubDocumentFrame, & nsVideoFrame. r=roc
2014-11-14 16:45:24 -08:00
Daniel Holbert
779bb4b2dd
Bug 624647 part 1: Add utility method nsLayoutUtils::ComputeObjectDestRect() to handle object-fit/object-position. r=seth
2014-11-14 16:45:23 -08:00
Daniel Holbert
6c33817dd5
Bug 624647 part 0: Don't use ASSUME_DRAWING_RESTRICTED_TO_CONTENT_RECT flag if 'object-fit' and/or 'object-position' might make our drawing overflow. r=roc
2014-11-14 16:45:23 -08:00
Glenn Randers-Pehrson
e2bc55a28c
Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth
2014-11-14 12:59:00 -05:00
Cameron McCormack
a954ec858b
Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky
2014-11-15 09:08:21 +11:00
Botond Ballo
1d78ddf865
Bug 1099104 - Temporary fix for a rendering regression caused by bug 1076163. r=kats
2014-11-14 14:08:02 -05:00
Christoph Kerschbaumer
a9d3ae9136
Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking)
2014-11-14 08:56:55 -08:00
Brian Marshall
5d639a0edf
Bug 783213 - Part 3: Tests. r=dbaron
2014-11-10 21:50:12 -08:00
Brian Marshall
5e4a1f9247
Bug 783213 - Part 2: Don't apply the quirk to selectors that use a pseudo-element or are part of a pseudo-class argument. r=dbaron
2014-11-13 21:37:42 -08:00
Brian Marshall
9ca3173fa9
Bug 783213 - Part 1: Only apply the :active and :hover quirk to links, and not when the selector uses other pseudo-classes. r=dbaron
2014-11-08 17:16:39 -08:00
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