Mats Palmgren
9356c910b1
Bug 907396 - DEBUG only; make frame tree dumps print up to 2 style context parents in the unusual case when they are not the parent frame's style context (e.g. display:contents). r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
63a641e1e7
Bug 907396 - Replace GetParentStyleContextFrame with GetParentStyleContext which can return frame-less display:contents style contexts. r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
d5ec26e4f1
Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
Mats Palmgren
c616f2d625
Bug 399262, part 2 - Exclude <select> because ::first-letter is not supported there. r=roc
2014-11-20 13:07:58 +00:00
Mats Palmgren
64c59ac292
Bug 399262, part 1 - The -moz-button-content pseudo is also allowed to have a ::first-letter. r=roc
2014-11-20 13:07:57 +00:00
Simon Montagu
30c1d81040
Bug 1100071 patch 3: don't pass around bidi levels when we only need the direction, r=dholbert
2014-11-20 12:45:23 +02:00
Simon Montagu
cd470f9242
Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert
2014-11-20 12:45:22 +02:00
Simon Montagu
19f27e666a
Bug 1100071 patch 1: change uint8_t to nsBidiLevel in a few more places, r=dholbert
2014-11-20 12:45:22 +02:00
Simon Montagu
1c01b9709d
Bug 1097894: if the embedding level of a frame is unset, get the direction from style, r=dholbert
2014-11-20 12:45:22 +02:00
David Anderson
b2e46c1fab
Add inactive subframes to the dispatch-to-content region. (bug 1082594, r=tn,kats)
2014-11-19 20:24:15 -08:00
Daniel Holbert
5b4f78dc00
Bug 1101128 part 2: Make nsDisplayImage::GetOpaqueRegion() take object-fit & object-position into account. r=seth
2014-11-19 18:34:52 -08:00
Daniel Holbert
36cbbe11df
Bug 1101128 part 1: Move nsDisplayImage::GetOpaqueRegion() to .cpp file, and label it as MOZ_OVERRIDE. r=seth
2014-11-19 18:34:50 -08:00
Jonathan Kew
3df872f767
Bug 1097128 - Enable compile-time support for vertical writing modes. r=smontagu
2014-11-19 11:15:45 +00:00
Sid Stamm
7840802ff5
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05:00
Tooru Fujisawa
1bf9e20256
Bug 825004 - Part 1: Unprefix CSS3 Text Decoration. r=dbaron
2014-11-18 19:23:09 +09:00
Seth Fowler
8272e602b4
Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
...
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Jonathan Kew
4400a535b1
Bug 1093684 - part 3 - Replace |bottom| with |block-end| in a bunch of comments, and rename mCarriedOutBottomMargin to mCarriedOutBEndMargin. r=smontagu
2014-11-17 08:49:38 +00:00
Jonathan Kew
ed1047b32e
Bug 1093684 - part 2 - Handle vertical writing mode when computing overflow areas in nsBlockFrame. r=smontagu
2014-11-17 08:49:37 +00:00
Jonathan Kew
496abc535c
Bug 1093684 - part 1 - Make nsGfxScrollFrame aware of vertical writing modes. r=smontagu
2014-11-17 08:49:37 +00:00
Phil Ringnalda
8e167728ed
Backed out 2 changesets (bug 1084183) for b2g crashes
...
Backed out changeset a7e75614e955 (bug 1084183)
Backed out changeset af96c149900b (bug 1084183)
2014-11-16 20:21:55 -08:00
Xidorn Quan
79dba04000
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-17 10:26:39 +11: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
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
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
Benoit Girard
8a1c4934f8
Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
...
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Morris Tseng
ca0f216c74
Bug 1096169 - Handle selection carets overlapping case. r=roc
2014-11-12 23:03:00 -05: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
Jonathan Kew
ba618121d3
Bug 1084370 - Fix handling of vertical-align in lines with vertical writing mode. r=smontagu
2014-11-13 12:58:30 +00: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
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
978c0c0e62
Bug 1090159 - Correct baseline alignment in vertical-rl writing mode. 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
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
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
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
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
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
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
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
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
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
Xidorn Quan
ccaf23b377
Bug 1083004 - Fix crashes for tests. r=dbaron
2014-11-12 17:31:31 +11: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
76054b5e43
(no bug) Minor whitespace cleanup in nsImageFrame.cpp. whitespace-only, so DONTBUILD
2014-11-11 08:46:06 -08:00