Masayuki Nakano
1b42eb60f1
Bug 1175789 Draw underline as overline when it's in vertical writing mode and the language is Japanese or Korean r=dbaron
2015-06-24 09:35:04 +09:00
Jonathan Kew
a043edf3b3
Bug 1174504 - Logical-coordinate versions of nsIFrame::SetSize should maintain the frame's logical position. r=smontagu
2015-06-23 06:06:16 -07:00
Ted Clancy
35a963f9e9
Bug 1164693 - part 3: Exclude optimizations that don't apply to preformatted paragraphs. r=smontagu
2015-06-20 08:52:34 -07:00
Ted Clancy
b1d966b6e0
Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu
2015-06-05 21:44:54 -04:00
Cameron McCormack
cf92b5df2c
Bug 804975 - Part 1: Expose WritingMode bits. r=dbaron
2015-06-23 11:48:17 +10:00
Jonathan Kew
f0a5c3023f
Bug 1174711
- patch 4 - Rename mSpecialHeightReflow to mSpecialBSizeReflow, and update comments to match. r=dholbert
2015-06-22 10:33:34 +01:00
Jonathan Kew
2d252085be
Bug 1174711
- patch 3 - Rename a couple more frame-state bits from physical to logical. r=dholbert
2015-06-22 10:33:34 +01:00
Jonathan Kew
10bd90547b
Bug 1174711
- patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert
...
--HG--
rename : layout/base/nsIPercentHeightObserver.h => layout/base/nsIPercentBSizeObserver.h
2015-06-22 10:33:34 +01:00
Ms2ger
98d44fafe9
Bug 1172536 - Stop using for each loops in layout; r=roc
...
These are SpiderMonkey-proprietary legacy feature which has been deprecated
and is expected to be removed in due course.
This commit also fixes a number of bugs in test_bug708874.xul. In particular,
because of the semicolon after the for head, the (alleged) loop body was only
executed for the final element of the array ({}), and because each of the
functions under test threw an exception, only the first call was executed.
I do not know of a way to test the changes in frame-verify.js, so I can't
guarantee they actually work.
--HG--
extra : commitid : 9WYVkuNzWOA
2015-06-20 09:16:51 +02:00
Simon Montagu
fd24391154
Bug 1173689: allow column sets in an orthogonal writing mode to their container to expand in the container's block direction, r=roc
2015-06-19 01:09:19 -07:00
Jonathan Kew
a3380043e5
Bug 1174507 - Replace the frame flag CONTAINS_RELATIVE_HEIGHT with CONTAINS_RELATIVE_BSIZE, and adjust callsites appropriately. r=dholbert
2015-06-18 07:33:50 +01:00
Ehsan Akhgari
c197ee959d
Bug 1174521 - Backout the second part of bug 1143570 to fix the regression; r=roc
2015-06-17 17:45:51 -04:00
Steven Michaud
d584ce81c9
Bug 1167069 - Watch out for deletion of current frame. r=jmathies
2015-06-17 12:59:34 -05:00
Carsten "Tomcat" Book
47a56a31ae
Backed out changeset b857e7a2ab26 (bug 1174521) for timeouts in test_bug1174521.html
2015-06-17 10:12:21 +02:00
Ehsan Akhgari
4dd45d21af
Bug 1174521 - Backout the second part of bug 1143570 to fix the regression; r=roc
2015-06-17 01:34:00 -04:00
Mats Palmgren
82b60d4d11
Bug 1174450 part 9c - Rename local var 'orthogonal' to 'verticalAxis' and simplify getting the GetComputedBorderWidth sides. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
479bf4c89b
Bug 1174450 part 9 - Remove the nsRenderingContext* param from Intrinsic*SizeOffsets methods since it's unused. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
22fb6b1ba8
Bug 1174450 part 8 - Add a new method nsIFrame::IntrinsicBSizeOffsets. r=jfkthame
2015-06-16 11:21:04 +00:00
Eric Rahm
61b43b582d
Bug 1173858 - Part 3 - Reindent blocks that we've converted to use LAYOUT_WARN_IF_FALSE. r=dholbert
2015-06-15 16:36:12 -07:00
Eric Rahm
efa4d9e28e
Bug 1173858 - Part 2: Use LAYOUT_WARN_IF_FALSE to silence some verbose layout warnings by default. r=dholbert
2015-06-15 16:36:11 -07:00
Daniel Holbert
84c7d709a6
Bug 1173646 part 4: Convert isize/bsize into flex container's writing-mode in flexbox macros that aim to pick a main-axis or cross-axis value. r=mats
2015-06-12 14:28:24 -07:00
Daniel Holbert
ec88b067da
Bug 1173646 part 3: Make FlexItems cache their WritingMode, for quick access. r=mats
2015-06-12 14:28:24 -07:00
Simon Montagu
d4298ccd14
Bug 1172774: for a box with a writing mode orthogonal to its containing block, calculate positioning values (margin, padding and offsets) in the writing mode of the containing block, r=jfkthame
2015-06-10 23:42:56 -07:00
Botond Ballo
4958aa7c1b
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
...
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Kan-Ru Chen
2710270ace
Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc
2015-06-10 17:44:14 +08:00
Xidorn Quan
6e3fc0bd96
Bug 1171328 - Convert nsTableFrame::GetChildAreaOffset() and its friends to use LogicalMargin. r=dholbert
...
--HG--
extra : source : 5d48d96995a1b2fd4aefc463d0f2fb2d156e0406
2015-06-10 13:13:49 +12:00
Ehsan Akhgari
869988e2ed
Bug 1143570 - Part 2: Update the block frame's line cursor every time that nsBlockInFlowLineIterator's constructor finds a new line; r=roc
2015-06-09 15:58:56 -04:00
Simon Montagu
37f044b028
Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu
2015-02-08 07:31:14 -08:00
Jonathan Kew
ded32b575f
Bug 1171773 - Handle reflowing a grid item with different writing mode from its grid container. r=mats
2015-06-06 07:15:36 +01:00
Jonathan Kew
72f7f38b47
Bug 1079151 - patch 4 - Handle unconstrained inline-size when computing constraints for an orthogonal absolutely-positioned block. r=smontagu
2015-06-05 08:47:09 +01:00
Jonathan Kew
6dbc322879
Bug 1079151 - patch 2 - Convert nsAbsoluteContainingBlock to use logical coordinates. r=smontagu
2015-06-05 08:47:09 +01:00
Jonathan Kew
e4a31ad160
Bug 1079151 - patch 1 - Update constraint calculations in nsHTMLReflowState to work with logical coordinates. r=smontagu
2015-06-05 08:47:09 +01:00
Simon Montagu
7f1b0db94c
Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame
2015-06-04 03:43:02 -07:00
Nicholas Nethercote
e6ec6218c6
Bug 1171282 - Avoid some unnecessary |operator new| null-checks in layout/. r=dholbert.
...
AllocateByObjectID() is infallible. Therefore the |operator new| of nsFrameList,
nsLineBox and nsRuleNode are too, as is nsRuleNode::CreateRootNode().
The patch also removes a couple of comments duplicated in both .h and .cpp
files.
--HG--
extra : rebase_source : 0b9e195fd547fdd53ddad7bb461ff5f5c2016fce
2015-06-03 23:45:11 -07:00
David Anderson
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Andrew Comminos
065394444c
Bug 1170158
- Apply GTK2 reftest exceptions to GTK3. r=karlt
2015-06-02 13:47:00 -04:00
Jonathan Kew
0dce4f8719
Bug 1163238 - Don't set available block-size to unconstrained for orthogonal-block reflow state until after InitConstraints etc. r=dholbert
2015-06-03 11:17:24 +01:00
David Anderson
e11be639dd
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
David Anderson
c96b4e0bcd
Use the correct scrollframe clips with nested scrollframes in APZ. (bug 1148582 part 6, r=botond)
2015-06-02 16:34:33 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Ted Clancy
f21a8865d4
Bug 1067788 - Part 5: Fix for parts of test_bug496275.html. r=smontagu
2015-05-30 00:22:53 -04:00
Ted Clancy
be8a64fc3b
Bug 1067788 - Part 4: Update test_bug496275.html. Add setCaretBidiLevel method to Selection. r=smontagu r=ehsan
2015-05-22 00:37:16 -04:00
Ted Clancy
20737c09c6
Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
...
--HG--
extra : rebase_source : e7800dac174b1bd155dc2630a410f55eadef0f6b
2015-06-01 15:19:57 -04:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Timothy Nikkel
9cbd0f1920
Bug 1148582. Part 3 follow up. Properly test if a scroll frame uses async scrolling when determining if it needs its clip put on its layer. r=mstange
...
Android (without APZ) only uses async scrolling on the root scroll frame of the root content doc.
2015-05-31 17:28:44 -05:00
Daniel Holbert
4fd7d3e21a
Bug 1169420: add crashtests. (no review)
2015-05-29 14:00:15 -07:00
Ryan VanderMeulen
7dfbf70ce7
Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
...
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
f2ec992500
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
45b95898e0
Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug.
2015-05-29 12:48:22 -04:00
Steven Michaud
947b9dd206
Bug 1167069 - Initialize nsPluginFrame::mInstanceOwner to null. r=jmathies
2015-05-29 10:59:08 -05:00
Kyle Zentner
3bacc6993c
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Markus Stange
bd011ed848
Bug 1164227 - Don't allow invalid region simplification to invalidate unchanged scrolled contents. r=roc
...
--HG--
extra : amend_source : 54ccbcac64986195c060e3fddd835dd5c01b66eb
2015-05-28 17:39:34 -04:00
Birunthan Mohanathas
470bd9148f
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Jonathan Kew
412e118c03
Bug 1167930 - Handle direction:rtl in vertical modes when converting a LogicalMargin to physical. r=smontagu
2015-05-28 18:29:07 +01:00
Ryan VanderMeulen
47df1bbfe3
Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
...
CLOSED TREE
--HG--
extra : rebase_source : 4ff4ea2d22a0beb2af011cec40f90efba2e452b9
2015-05-28 11:01:18 -04:00
Kyle Zentner
2e3823f252
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
...
--HG--
extra : rebase_source : 6103761cd36cbba2c8e048db2a0d6cd75cad2020
2015-05-27 09:57:00 -04:00
Mats Palmgren
a57fd54cfb
Bug 1003441 - Check that the new frame is also a nsSubDocumentFrame (i.e. that Init has picked up the detached views). r=roc
2015-05-27 22:18:36 +00:00
Wes Kocher
9bd0348fb3
Backed out changeset 93943a21b457 (bug 1148582) for android r6 orange CLOSED TREE
2015-05-26 16:12:17 -07:00
David Anderson
ffaeec1f11
Follow-up fix to bug 1148582 part 3, r=tn.
...
--HG--
extra : rebase_source : 92989fa0b5207cdc435618365d60c31ddb223172
2015-05-26 14:13:03 -07:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
David Anderson
eaf5e38092
Clip async scrollframes based on the displaylist clip, not the composition bounds. (bug 1148582 part 4, r=tn)
2015-05-26 12:40:41 -07:00
David Anderson
bb8d53f35f
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
David Anderson
3397ef3b2f
Don't clip in ComputeFrameMetrics if the scrollframe won't be layerized. (bug 1148582 part 2, r=tn)
2015-05-26 12:39:34 -07:00
David Anderson
e5acec7e56
Use Maybe to communicate the APZ scrollframe clip. (bug 1148582 part 1, r=mstange)
2015-05-26 12:39:29 -07:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
David Major
db2b1e973b
Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst
...
--HG--
extra : rebase_source : 880d1f717ad3d6789ffe3c422cc35fdf3965f55c
2015-05-22 14:16:20 -04:00
Jonathan Kew
240749da44
Bug 1167145 - Check result of PrevInFlow() before trying to call a method on it. r=dbaron
2015-05-22 08:49:30 +01:00
Daniel Holbert
769c903ec3
Bug 1165667: Use reflow state's reference rendering context during flex layout, instead of creating a temporary one. r=mats
2015-05-21 18:35:16 -07:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Ryan VanderMeulen
6a81108d23
Backed out changeset ce5f10e3c979 (bug 1164227) for B2G wordwrap-01.html timeouts.
...
CLOSED TREE
2015-05-19 15:15:10 -04:00
Markus Stange
e9a8ee958d
Bug 1164227 - Don't allow invalid region simplification to invalidate unchanged scrolled contents. r=roc
2015-05-13 17:50:45 -04:00
Jose' Rios
28d79da6d7
Bug 1142295 - Closing descriptor when GECKO_DISPLAY_REFLOW_RULES_FILE is setted. r=erahm
2015-05-14 17:07:00 -07:00
Jonathan Watt
6bb0aa738c
Bug 1165893 - Fix rounding issue in nsDisplaySelectionOverlay::Paint. r=mattwoodrow
2015-05-04 14:35:22 +01:00
Phil Ringnalda
f7950798e0
Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
...
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e
Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE
2015-05-17 21:46:30 -04:00
David Anderson
502eb5d3ca
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 20:44:43 -04:00
Daniel Holbert
beb52571e8
Bug 1158290 part 6: Use new GET_[MAIN|CROSS]_COMPONENT_LOGICAL macros, to reduce explicit width/height usage. r=mats
2015-05-15 11:57:08 -07:00
Daniel Holbert
f3e246f4b3
Bug 1158290 part 5: Use logical coords & axes in methods that compute flex container's own main size & cross size. r=mats
2015-05-15 11:57:06 -07:00
Daniel Holbert
12bc60a2d9
Bug 1158290 part 4: Clarify documentation & naming of ClampFlexContainerMainSize (now called ResolveFlexContainerMainSize). r=mats
2015-05-15 11:57:05 -07:00
Masayuki Nakano
99e7b621fa
Bug 1130935 part.11 Disable test_backspace_delete.xul due to bug 1163311 r=smontagu
2015-05-15 10:18:08 +09:00
Masayuki Nakano
ee32a82c8d
Bug 1130935 part.6 Selection change notification should have selection range and writing mode information r=smaug
2015-05-15 10:18:08 +09:00
Seth Fowler
bd70e1593e
Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn
2015-05-13 00:23:46 -07:00
Daniel Holbert
cf76677b63
Bug 1158290 part 3: Convert GenerateFlexLines to use logical axes & sizes. r=mats
2015-05-12 13:34:25 -07:00
Daniel Holbert
44b034651d
Bug 1158290 part 2: Use logical (not physical) skipsides & borderpadding when chipping away from available BSize. r=mats
2015-05-12 13:34:23 -07:00
Daniel Holbert
f82cdd0c52
Bug 1158290 part 1: Use AvailableBSize instead of AvailableHeight, throughout flex layout. r=mats
...
This patch was auto-generated, with the following command:
sed -i "s/vailableHeight/vailableBSize/g" nsFlexContainerFrame.*
2015-05-12 13:34:22 -07:00
Simon Montagu
fe1d4e7e0d
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07:00
Ting-Yu Lin
da5ef9e181
Bug 1110039 - Part 4 - Hook new classes into the system. r=roc
...
The necessary modifications are the same as SelectionCarets. For
convenience, Touch/SelectionCarets will be disabled whenever
AccessibleCaret preference is enabled.
2015-04-24 02:08:00 +02:00
Eric Rahm
e1ce2b6323
Bug 1162673 - Part 1: Remove instances of #ifdef PR_LOGGING in layout. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:53:18 -07:00
Jonathan Kew
0b6c2066f3
Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu
2015-05-11 11:37:46 +01:00
Jonathan Kew
28d878bacb
Bug 1159305 - patch 1 - Provide logical accessors for nsStylePosition and nsStyleSides fields. r=dbaron
2015-05-11 11:35:47 +01:00
L. David Baron
52c44314e3
Bug 1160635 patch 2 - Stop making image resizing optimization when image has percent width or height. r=dholbert
...
The reftests pass with the patch, based on local testing.
2015-05-06 08:52:19 +02:00
Mats Palmgren
e19fd63d88
Bug 1161038 - [css-grid] Make kAutoLine not clash with translated grid lines. r=dholbert
2015-05-05 21:53:22 +00:00
Mats Palmgren
57c61bb7d9
Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert
2015-05-05 21:53:22 +00:00
Mats Palmgren
f2eae86aa2
Bug 1151316
part 1 - [css-grid] Implement relative positioning for grid items. r=roc
2015-05-05 21:53:22 +00:00
Timothy Nikkel
bcd55d9b6f
Bug 1133905. Make layout place scrollbars at the scroll position clamping scrollport size when one is set so that scrollbars are positioned properly on b2g. r=mstange
2015-05-05 14:31:51 -05:00
Jonathan Kew
786ce25f0b
Bug 1152941 - Always use unconstrained block-size when reflowing an orthogonal child block, to avoid incomplete reflow across orthogonal boundary. r=dbaron
2015-05-04 19:51:56 +01:00
Timothy Nikkel
a792ad70d0
Bug 1159772. Don't let nsContainerFrame::SyncWindowProperties make widget calls that can result in synchronous painting during reflow or frame construction. r=mats
...
Specifically on Windows nsIWidget::SetTransparencyMode can result in sync painting.
So we give nsContainerFrame::SyncWindowProperties a sync or async option and use the view manager post pending update infrastructure to flush SyncWindowProperties calls async.
2015-05-04 14:29:19 -05:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Kartikaya Gupta
4851563279
Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn
2015-05-04 10:17:26 -04:00
Xidorn Quan
6ede83db64
Bug 1157569 part 10 - Add operator+= for LogicalMargin. r=jfkthame
...
--HG--
extra : source : 1d2c1844a8d1cc4cac15c2e8dc88e8367dd828d9
2015-05-04 19:09:25 +12:00
Xidorn Quan
21b619291a
Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
...
--HG--
extra : source : 27743ccd4b9be84847c7eb6590adcf96fb424999
2015-05-04 09:52:53 +12:00
Sylvestre Ledru
9f25cd5d7e
Bug 1160784 - Remove a misleading declaration r=smontagu
2015-05-03 17:49:37 +02:00
Simon Montagu
17fceb5cc4
Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame
2015-05-03 01:33:31 -07:00
Jet Villegas
bfb3d11b2f
Bug 1146561 - Add back the visibility check for Mac plugins. r=jmuizelaar
...
--HG--
extra : rebase_source : 54d5c31102bca7035b4060eefdfc48f89e13cae0
extra : histedit_source : 94bf4ef4a0e87b63e02588876fbe5360265b78ae
2015-04-24 17:44:00 -04:00
Markus Stange
e72a2b1b6a
Bug 1147194
- Do scroll info layer hoisting when building the display list. r=tn
...
--HG--
extra : amend_source : 35ca22eae3b3088eaae5143af8c47177bf601800
2015-04-30 14:54:48 -04:00
Mats Palmgren
167c7e473b
Bug 1151201 - [css-grid] Update parsing of 'auto' in track-sizing functions to latest version of the spec. r=simon.sapin
2015-04-30 18:42:50 +00:00
Mats Palmgren
8140bec714
Bug 1146051 part 8 - [css-grid] Iterate all items again instead of collecting the ones with a definite position in an array which wouldn't be much of win anyway. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
ba5c6f4116
Bug 1146051 part 7 - [css-grid] Make LineRange::mStart/mEnd into a union with both a signed/unsigned members to make it clear when we're working with translated line numbers and when not. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
fe5823cb40
Bug 1146051 part 6b - [css-grid] Clamp grid lines after resolving 'auto'. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
998fe0239a
Bug 1146051 part 6 - [css-grid] Make the grid zero-based after resolving definite lines. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
fc5f8ce8f9
Bug 1146051 part 5b - [css-grid] Clamp resolved definite lines for abs.pos. to the untranslated grid bounds. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
4a11f80b65
Bug 1146051 part 5 - [css-grid] Resolve definite lines such that they expand the implicit grid also to the top/left as needed. Also, implement the 'If not enough lines with that name exist, all lines in the implicit grid are assumed to have that name' spec change when resolving <custom-ident> with <integer> or span. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
06a768fad0
Bug 1146051 part 4 - [css-grid] Translate the grid so that the top-/left-most implicit line becomes 1,1. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
4fbe133028
Bug 1146051 part 3 - [css-grid] Simplify some code because ResolveLine() never returns kAutoLine. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
2f3504012c
Bug 1146051 part 2 - [css-grid] Remove dead code because ResolveLine() never returns kAutoLine. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
e999493eb2
Bug 1146051 part 1 - [css-grid] Change the representation of 'auto' from zero to kAutoLine - an arbitrary number outside the range we clamp definite lines to. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
6c806ea505
Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert
2015-04-30 18:42:50 +00:00
Mats Palmgren
c4cf89e642
Bug 1147423 part 1 - [css-grid] Use a signed integer type for some line variables in preparation for negative implicit lines. r=dholbert
2015-04-30 18:42:50 +00:00
Ryan VanderMeulen
1d0ad1ef62
Backed out changesets 2bbe38dcb529 and f6bd5a0a047d (bug 1150614) for being the more-likely cause of B2G reftest failures.
...
CLOSED TREE
2015-04-30 09:08:20 -04:00
Xidorn Quan
0c5653824d
Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc
...
--HG--
extra : source : ad2134d545e36298124b6ec5aea600d3689022ad
extra : amend_source : 8bf117c8a17a8a9d0144a00709a8963f8b7efd14
2015-04-30 18:27:54 +12:00
Simon Montagu
f4ea5d40c8
Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame
2015-04-29 22:07:30 -07:00
Timothy Nikkel
4351a73f8e
Bug 1159056. Fix typo.
2015-04-29 19:16:34 -05:00
Mats Palmgren
3d32c9505f
Bug 1153757 - Tweak DoGetParentStyleContext to exclude pseudos with a non-primary frame from using a display:contents parent as the style context parent. r=heycam
2015-04-29 13:13:47 +00:00
Jonathan Kew
861e6a44ed
Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc
2015-04-29 08:18:53 +01:00
Jonathan Kew
ed4f94f6c0
Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc
2015-04-29 08:18:53 +01:00
Timothy Nikkel
b2cc193b4e
Bug 1159056. Don't store a value in CSS pixels in a variable with type nscoord in ScrollFrameHelper::SetCoordAttribute. r=dholbert
2015-04-27 19:34:39 -05:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Ehsan Akhgari
65709fa8ac
Bug 1158546 - Remove nsDisplayHeaderFooter::mFrame in favor of nsDisplayItem::mFrame; r=roc
...
There is no need to have two separate variables for the same thing
in the same object.
2015-04-27 08:10:29 -04:00
Jonathan Kew
cdd4e7ba24
Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu
2015-04-27 09:45:55 +01:00
Jonathan Kew
3381e78769
Bug 1158549 - Properly apply min/max constraints to block-size in vertical writing modes. r=smontagu
2015-04-27 09:41:37 +01:00
Jonathan Kew
577029853b
Bug 1154227 - Fix the painting of text-shadow in vertical writing modes. r=smontagu
2015-04-27 09:35:59 +01:00
Xidorn Quan
ff400fb4a5
Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
...
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Xidorn Quan
3d4aa499c8
Bug 1117227 part 4 - Make overflow mark baseline computation aware of writing-mode. r=jfkthame
...
--HG--
extra : source : 4dc392ec04f77fd74811dc5595d6f199f99b8796
2015-04-24 10:15:32 +12:00
Xidorn Quan
065df6bd63
Bug 1117227 part 3 - Make nsTextFrame::MeasureCharClippedText use frame isize instead of width. r=roc
...
--HG--
extra : source : 235e6a1f915ea38fd4dc9c966d3a619bca6b3e59
2015-04-24 10:15:32 +12:00
Xidorn Quan
cb03df0c0b
Bug 1117227 part 2 - Convert TextOverflow to logical coordinate. r=roc
...
--HG--
extra : source : fc021c6ca3be7dbbe30fadfbe41f9e8b69c2f6a3
2015-04-24 10:15:32 +12:00
Xidorn Quan
1d2d23191b
Bug 1117227 part 1 - Add IntersectRect method to LogicalRect. r=jfkthame
...
--HG--
extra : source : 3c42cbab1f5087c5411984c69b2f06939b735e93
2015-04-24 10:15:32 +12:00
Xidorn Quan
a5e91c3f1c
Bug 1157011 - Check line break suppression of BR frame from its parent frame. r=dholbert
...
--HG--
extra : source : e68c66b656c730352e5ebdbddd87113ede715c76
2015-04-23 13:32:53 +12:00
Xidorn Quan
9c13d12b5e
Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
...
--HG--
extra : source : c00a44185d012b612271e0c64c444832c19d3b54
2015-04-23 13:32:53 +12:00
Jonathan Kew
b68965af5a
Bug 1028716 part 2 - Handle the new orient values in <progress> and <meter> layout. r=smontagu
2014-06-27 11:25:11 +01:00
Kartikaya Gupta
02fc2e12be
Bug 1154478 - Really force-enable the event-regions code when APZ is enabled. r=tn
2015-04-22 10:16:27 -04:00
Carsten "Tomcat" Book
7ef9b42c28
merge mozilla-central to mozilla-inbound IGNORE IDL
...
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648
Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me
2015-04-22 09:36:25 -04:00
Wes Kocher
b6e78e87bc
Merge b2ginbound to m-c a=merge
2015-04-21 15:31:59 -07:00