Jonathan Kew
d92097e485
Bug 1121748 - patch 2 - Use the flex-item frame's final size when computing its logical position within the flex container. r=smontagu
2015-02-02 14:17:00 -08:00
Simon Montagu
2df582470e
Bug 1121748 - patch 1 - Make sure to update the frame dimensions before calling ApplyRelativePositioning. r=jfkthame
2015-01-18 22:01:57 -08:00
Phil Ringnalda
34a9ee669a
Bug 1123195 - Skip some more crashtests that time out on OS X 10.10 debug
2015-02-03 21:22:18 -08:00
Mats Palmgren
ad6e4bdcbe
Bug 1123067 - part 1, Add the range even if it's inside a user-select:none region in case it's inside an editable node (it represents the caret). r=smaug
2015-02-03 23:54:31 +00:00
David Anderson
fe18c25a8f
Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats)
2015-02-03 15:02:04 -08:00
Kartikaya Gupta
d4001130db
Bug 1126876 - Prevent subdocuments inside a pointer-events:none frame from building event regions. r=roc,tn
2015-02-03 10:52:51 -05:00
Carsten "Tomcat" Book
3d0ff2ad63
Backed out changeset c80e36def0ad (bug 1128356) for bustage on a CLOSED TREE
2015-02-03 09:58:14 +01:00
Morris Tseng
c8b0b1c49e
Bug 1125419 - Add dummy touch event listener to touch/selection carets to prevent apz scroll when dragging touch/selection carets. r=roc
...
--HG--
extra : rebase_source : 53aa339fca8e0a1287a9c47e98e162cd695c7b22
2015-02-01 20:17:00 +01:00
Seth Fowler
e4beedf018
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-03 00:24:13 -08:00
Wes Kocher
249a7cc50c
Backed out 2 changesets (bug 1123067) for mochitest-1 bustage on a CLOSED TREE
...
Backed out changeset d35d83e9c9f2 (bug 1123067)
Backed out changeset ea4ea5299409 (bug 1123067)
2015-02-02 17:32:28 -08:00
Mats Palmgren
1510c3582a
Bug 1123067 - part 1, Add the range even if it's inside a user-select:none region in case it's inside an editable node (it represents the caret). r=smaug
2015-02-02 22:34:17 +00:00
Paul Rouget
aeeb621d68
Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz
2015-02-02 15:10:51 -05:00
Jonathan Kew
f665472a1c
Bug 1127679 - Fix use of incorrect writing mode in flex-item relative positioning. r=smontagu
2015-02-02 18:29:52 +00:00
Jonathan Kew
323af42ff6
Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc
2015-02-02 09:19:28 +00:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
L. David Baron
958c00e0fe
Bug 1106755 - Make more overflow area computation code apply only to floating ::first-letter. r=jfkthame
...
In inline layout there's no need to do anything with overflow areas
since RelativePositionFrames handles it. Apparently doing some of the
work messes things up somehow, so the easy fix is to make the inline
::first-letter codepath behave more like nsInlineFrame and not do any
messing with overflow areas. So this moves the rest of the overflow
code in nsFirstLetterFrame::Reflow into the float-only codepath. There
don't appear to be any ordering issues with the movement, since the code
that the FinishAndStoreOverflow call is moved across deals with creating
and destroying continuations of the child.
All the added tests pass with the patch, but without the patch
overflow-inline-nooverflow.html fails.
2015-01-31 11:00:44 -08:00
L. David Baron
c64f6910f8
Bug 891347 - Make bug 385526 crashtest appropriate for use in the reftest/crashtest harness. r=mats
2015-01-31 11:00:44 -08:00
Kartikaya Gupta
5ce034230b
Bug 1124452 - Make it work without containerless-root, too. r=tn
...
--HG--
extra : rebase_source : 487e678ef5fc1592326a72f279e7e7f9f32a3a71
2015-01-28 13:28:28 -05:00
Jim Mathies
d353a0d5c1
Bug 1095754 - Add nsPluginFrame support for e10s specific plugin configuration data. r=roc
2015-01-29 13:41:55 -06:00
Carsten "Tomcat" Book
579ac07ed5
Merge mozilla-central to mozilla-inbound
2015-01-29 16:17:28 +01:00
Jonathan Watt
a923689db0
Bug 1127114, part 2 - Unify SVGTextFrame's NotifyBeforeSelectionBackground and NotifySelectionBackgroundPathEmitted callbacks. r=heycam
2015-01-27 16:32:24 +00:00
Jonathan Watt
de0a615af6
Bug 1127114, part 1 - Use typed rects for PaintSelectionBackground's arguments since the units are unexpected. r=heycam
2015-01-27 16:32:20 +00:00
Kartikaya Gupta
8d93c66cb0
Bug 1116588 - Don't optimize away opacity:0 items if we're building event regions, unless the frame also has pointer-events:none. r=tn
2015-01-28 17:42:23 -05:00
Kartikaya Gupta
f6da43df9d
Back out bug 1116588 for introducing the regression in bug 1126427. r=me
2015-01-28 08:58:47 -05:00
Jonathan Kew
5a6184da2a
Bug 1126420 - Don't assert when intrinsic size values are used for a block-size property, just pretend they're 'auto' for now. r=dbaron
2015-01-28 09:07:59 +00:00
Ehsan Akhgari
cdf636c674
Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
...
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 23:11:29 -05:00
Ehsan Akhgari
4d42b88e0b
Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
...
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content. The test cases demonstrate the
scenario. Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.
Note that we need to do this only when moving the selection, and not
when extending it. We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05:00
Ehsan Akhgari
fa44e7387c
Backed out 2 changesets (bug 989012) because of test failure on Linux32 opt mochitest-a11y on a CLOSED TREE
...
Backed out changeset 9698f6f3f72e (bug 989012)
Backed out changeset 22fb05349a10 (bug 989012)
2015-01-27 16:40:30 -05:00
Ehsan Akhgari
e8b3ff1eb5
Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc
...
We do not want to traverse inside native anonymous elements, but we
should still be able to skip over generated content, to avoid getting
stuck on such images.
2015-01-27 15:35:48 -05:00
Ehsan Akhgari
084e7e0b3c
Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
...
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content. The test cases demonstrate the
scenario. Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.
Note that we need to do this only when moving the selection, and not
when extending it. We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 15:35:32 -05:00
Kartikaya Gupta
697928de5e
Bug 1116588 - Remove an optimization codepath that prevents building event-regions correctly. r=tn
2015-01-26 09:46:33 -05:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Mats Palmgren
469969b044
Bug 1099110 - Add a runtime check before the downcast in BreakSink::SetCapitalization. r=jfkthame
2015-01-24 12:35:12 -05:00
Daniel Holbert
f3f221e566
Bug 1054010: Skip final reflow for flex items that receive an earlier 'measuring reflow' with the right size. r=mats
2015-01-23 14:15:11 -08:00
Daniel Holbert
38ef50f263
Bug 1054054 part 4: Remove stale XXXdholbert comment from ReflowFlexItem. (no review, comment-only)
2015-01-23 10:26:16 -08:00
Daniel Holbert
14edea4218
Bug 1054054 part 3: De-indent ReflowFlexItem function-body (no review, whitespace-only).
2015-01-23 10:26:00 -08:00
Daniel Holbert
93662abfdf
Bug 1054054 part 2: Add "a" prefix to args which were formerly local variables, in ReflowFlexItem. r=mats
2015-01-23 10:25:59 -08:00
Daniel Holbert
36b02b61f3
Bug 1054054 part 1: Split out code for doing final reflow of each flex item into its own helper-function, "ReflowFlexItem". r=mats
2015-01-23 10:25:58 -08:00
L. David Baron
25539f2898
Bug 1122897 patch 1 - Remove quirk that text-decoration propagates to floats and absolutely positioned elements in quirks mode. r=dholbert
2015-01-22 16:53:56 -08:00
Daniel Holbert
b6b424d410
Bug 1054058 part 3: Use local var to cache flex item's "normal" block offset in container, rather than looking it up. r=mats
2015-01-22 15:12:11 -08:00
Daniel Holbert
d9ae35f978
Bug 1054058 part 2: Resolve flex item ascent (baseline) values lazily. r=mats
2015-01-22 15:12:11 -08:00
Daniel Holbert
b1051e7880
Bug 1054058 part 1: Proactively save flex items' ascent values, whenever they're reflowed, if there's a chance we'll need them later. r=mats
2015-01-22 15:12:10 -08:00
Xidorn Quan
a9545c0e64
Bug 1123917 part 2 - Make ruby-position only accept [over|under] instead of compound values. r=dholbert
...
--HG--
extra : rebase_source : fe13f96fe7bc771dfd899bd7ac391f565899d26d
extra : source : 480c409240940afd5e4e6ce4cf995e5e1a26e640
2015-01-22 14:04:55 +11:00
Xidorn Quan
4f9602615b
Bug 1123917 part 1 - Add line-relative direction mapping methods to writing modes. r=jfkthame
...
--HG--
extra : rebase_source : b560e4956cef826d5d7c55fd2c644aa52857dfca
extra : source : ae961e0f6c20b5a9bfec10a99568d0282e437c9e
2015-01-22 14:04:55 +11:00
Daniel Holbert
428b9cacfe
Bug 1054046: Cache flex items' tentative cross size from reflow state, to avoid creating another reflow state later on just for that piece of information. r=mats
2015-01-21 19:45:37 -08:00
Benoit Girard
7f3f1a073e
Bug 1121811 - Fix redraw loop regression causing mac plugins to draw at 60 FPS. r=josh
2015-01-21 14:02:32 -05:00
Mats Palmgren
b39a2a10f3
Bug 1116714
part 2 - Don't create a frame for the custom content container when it has no children. r=roc
2015-01-20 18:20:04 +00:00
Seth Fowler
d34d823d05
Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn
2015-01-19 15:46:55 -08:00