Commit Graph

53 Commits

Author SHA1 Message Date
Tomer Cohen
d0e2761f49 Bug 849404 RTL support for text/plain documents r=dbaron
The addition of unicode-plaintext to the pre element will make RTL text to appear from right to left. The html[dir] pre rule will make sure that this addition won't break the 'switch page direction' functionality.

MozReview-Commit-ID: 2JXJjqt2iuX

--HG--
extra : rebase_source : 98c85228ce50fa145bfaa77051532f69e92ba98d
2016-12-24 01:59:12 +02:00
Phil Ringnalda
82ebc0c5ea Merge m-i to m-c, a=merge
MozReview-Commit-ID: FEe5yZfka5J
2017-01-03 18:40:26 -08:00
Ray Lin
22a003ad67 Bug 1322512 - force <audio controls> to have horizontal writing-mode, so that its control bar is never an orthogonal flow. r=dholbert
MozReview-Commit-ID: 4hLOYrBtiGc

--HG--
extra : rebase_source : be6bf19989c458ca46f3172ffbec6c023e71c9bd
2016-12-23 15:21:46 +08:00
Tim Nguyen
d7db347638 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Boris Zbarsky
6d33c26700 Bug 1326163 part 2. Inherit a fieldset's border-radius down into its content wrapper box, so it doesn't leak out and mess up hit-testing in the corner areas when it has rounded borders. r=dbaron 2016-12-29 18:10:24 -08:00
Jessica Jong
556aae19f0 Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
--HG--
rename : dom/html/test/forms/test_input_time_focus_blur_events.html => dom/html/test/forms/test_input_datetime_focus_blur_events.html
2016-12-19 00:50:00 +08:00
Thomas Wisniewski
4c82121568 Bug 140562 - Part 2: Remove the 2px extra padding on buttons for a prospective -moz-focus-inner ring, and just size that ring the same as the content frame (inflated by its CSS padding). r=dbaron 2016-12-02 01:11:48 -05:00
Boris Zbarsky
c2aae6a433 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Wes Kocher
f0071bb179 Backed out 2 changesets (bug 504622) for android reftest failures a=backout
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Boris Zbarsky
6f55f6fce6 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Botond Ballo
1a3f01bf7e Bug 1320200 - Propagate scroll-behavior on a text input to the anonymous scrollable <div> inside it. r=tnikkel
MozReview-Commit-ID: Cur3x41wAfU

--HG--
extra : rebase_source : 0db4979a2717d54da258dbd83c6be31fdb6c1537
2016-11-25 19:39:17 -05:00
Xidorn Quan
e1ee43ee63 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 6354a9d2f351a926c8dfb97fac342f634364cf57
2016-11-22 16:31:56 +11:00
Iris Hsiao
11e8b7fb2a Backed out changeset 535f8682016b (bug 1223561) for test_fullscreen-api.html timeout 2016-11-23 16:53:03 +08:00
Xidorn Quan
b283046733 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 3edab41eb85239cc765d7305b1a6083397d4a158
2016-11-22 16:31:56 +11:00
Mike Conley
a4fdeba2e9 Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
MozReview-Commit-ID: 86X3PHxmKFg

--HG--
extra : rebase_source : fa55a2d4f585d62a48aeb190a29afa327ab1d4e9
2016-10-21 14:07:43 -04:00
Wes Johnston
5b987fba4a Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
MozReview-Commit-ID: HqyXXuYzjrE

--HG--
extra : rebase_source : 9d2c887e0bdef26b4b32b7b45c80ac456ea6ebd3
2016-11-03 16:54:49 -04:00
Ray Lin
461915d273 Bug 1271765 - Part 1: Remove XUL specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : 41195f234bd3bb845855e08a354ce110d3f5e8b8
2016-10-12 13:41:50 +08:00
Ting-Yu Lin
55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Wes Kocher
c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Ray Lin
234b017f7f Bug 1271765 - Part 1: Remove XUL-specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : f660cc62ed5b2c3a361568fde22491a5aed6c9f6
2016-10-12 13:41:50 +08:00
Phil Ringnalda
7c7dd328d1 Backed out 3 changesets (bug 1271765) for -Werror bustage
CLOSED TREE

Backed out changeset 235ea1c681db (bug 1271765)
Backed out changeset 02d34b18d76b (bug 1271765)
Backed out changeset 088113647629 (bug 1271765)
2016-11-07 18:51:18 -08:00
Ray Lin
01a64b4413 Bug 1271765 - Part 1: Remove XUL-specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : 09c9b06d40cb199114ca6777cdc992a04fb4d6eb
2016-10-12 13:41:50 +08:00
Wes Kocher
aee76f4bf5 Backed out 2 changesets (bug 418833) for android reftest failures a=backout
Backed out changeset 872ebe45f2f6 (bug 418833)
Backed out changeset c875e87e5301 (bug 418833)
2016-11-02 17:13:21 -07:00
Mike Conley
949078ffb1 Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
MozReview-Commit-ID: 86X3PHxmKFg

--HG--
extra : rebase_source : f6aa36240ef89401613f293ec69c9e56e47e66cd
2016-10-21 14:07:43 -04:00
Wes Johnston
61a6cc0a69 Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
MozReview-Commit-ID: HqyXXuYzjrE

--HG--
extra : rebase_source : 76d7d84173970a5656d7aac360d9c35b9639bf9d
2016-06-24 09:35:14 -07:00
Dão Gottwald
998303abfe Bug 582951 - Use CSS outline for checkbox and radio button focus indicator. r=dbaron,jimm 2016-10-22 08:28:53 +02:00
Daniel Holbert
f83c4b8ad4 Bug 1309119 part 4: Make the scrollframe, button, & fieldset anonymous inner boxes inherit -webkit-box container CSS properties. r=mats
(We already do this for the properties that we use to configure modern flexbox.)

MozReview-Commit-ID: KStEZ42FIqB
2016-10-20 13:23:52 -07:00
Jessica Jong
b3014cc00b Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00
Mats Palmgren
d7f4c1f451 Bug 984869 - Add support for display:flex/grid and columnset layout to <button>. r=tn 2016-10-06 22:43:22 +02:00
Ting-Yu Lin
12ef09026a Bug 1307027 - Fix vertical position for caret images. r=mtseng
After the splitting of text overlay and the caret images, the caret image should
be placed from the top of #image div.

Delete those "top" style for Fennec since they're not needed anymore in current
setup.

MozReview-Commit-ID: Dn6jgqaFfek

--HG--
extra : rebase_source : 92b697db26cb7311fbd22a63e9f0ed71e6a434f4
2016-10-03 15:26:40 +08:00
Mats Palmgren
cf299c6f6e Bug 1306106 - [css-grid] Make the table wrapper box inherit a few grid item properties. r=dholbert 2016-09-29 21:49:54 +02:00
Thomas Wisniewski
2b28c5e2a9 Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz 2016-09-07 19:38:38 -04:00
Ting-Yu Lin
b2eef835ec Bug 1292904 Part 2 - Split touch area into image and text overlay. r=mtseng
The touch area of the caret element includes the caret image and the
text above the image. This patch split these two areas, and call the
area covering the text "text overlay".

MozReview-Commit-ID: KWNAwVRP7fN

--HG--
extra : rebase_source : 674dbec65e1c4b04413f9f35fe46aeea46480831
2016-08-14 20:22:04 +08:00
Ting-Yu Lin
02f58e267d Bug 1292904 Part 1 - Use element id to get caret child element. r=mtseng
The children of the caret element already have unique class name like
"image" or "bar", we could change the class name to be id, and use id to
locate them.

MozReview-Commit-ID: HLZecyAEYXv

--HG--
extra : rebase_source : 04b59a4d639ad45d2b564f48de15c2f23752fdaf
2016-08-18 15:09:19 +08:00
Thomas Wisniewski
051c21928e Bug 843579 - Unprefix -moz-any-link. r=bz
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Xidorn Quan
340cb25555 Bug 1285964 - Remove !important from object-fit for fullscreen element. r=heycam
MozReview-Commit-ID: 1PgMGoBC2lm

--HG--
extra : source : f6aeb28ba488f185a483aa10b6c862bde4638766
2016-07-19 13:33:56 +10:00
Xidorn Quan
ce930266d1 Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame
MozReview-Commit-ID: 9Sx87z5gcqZ

--HG--
extra : rebase_source : 1c0d4b53be58e7ee2656b5de9d8f73414e0ea707
2016-07-01 09:53:26 +10:00
Xidorn Quan
8bb94fa4a4 Bug 1141895 part 2 - Use unprefixed unicode-bidi values in internal code. r=jfkthame
MozReview-Commit-ID: 1o2NEe8eiSX

--HG--
extra : rebase_source : b09e931fc8e318ceda224fe9c02dd7931c75f8ed
2016-06-30 16:25:31 +10:00
Xidorn Quan
cf286b9650 Bug 648331 - Remove list item bullet size quirk. r=heycam
MozReview-Commit-ID: 31tThF0kHrO

--HG--
extra : source : 450e976ebd63443c4d174a011cf52e1d748903b2
2016-06-20 07:15:42 +10:00
Astley Chen
188c2c3e1a Bug 1277131 : Part 4 - rename -moz-table-outer to -moz-table-wrapper. r=heycam
MozReview-Commit-ID: CsalRdLLcbJ

--HG--
extra : rebase_source : 64c55289f599932b81058935b7896dbcb33ba557
2016-06-16 13:35:54 +01:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Astley Chen
d626fe0c49 bug 859301 : Part 2 - unprefix internal css files. r=dbaron
MozReview-Commit-ID: CRyp3zQxayh

--HG--
extra : rebase_source : 6b4a5d3e5292a1bdeceab37c5067c78fac69834a
2016-05-04 13:31:24 +08:00
Ting-Yu Lin
87d7ee9f5c Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add <br>
elements to testAccessibleCarets.html to separate these test fields.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 6fbfede7cc0e395402b5858d74480dcdd5606c35
2016-04-22 18:23:47 +08:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Carsten "Tomcat" Book
55fea48a3f Backed out changeset 637e80ab4fca (bug 1262755) for rc4 android perma failures
--HG--
extra : rebase_source : 26893c1afaa1c4fc23808b92d8738d847d9ff5f3
2016-04-22 09:12:50 +02:00
Ting-Yu Lin
2d3ac9ab7f Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add two <br>
to testAccessibleCarets.html to separate the <input> and <textarea>.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 73b662980a5be55a4e3e31506437f2c26f65cd85
2016-04-15 17:10:02 +08:00
Matteo Ferretti
3837790c7f Bug 1168113 - Anonymous custom content container should use absolute position. r=xidorn
MozReview-Commit-ID: JkfqzK6BsdE

--HG--
extra : rebase_source : 61a05f4ac4d030ecd266d44ea698a5fc1a9aac1a
2016-04-19 22:22:57 +08:00
Ting-Yu Lin
35c5e05787 Bug 1264533 - Correct the universal selector for summary to include all namespaces. r=bz
MozReview-Commit-ID: 7jtNayMA1CY

--HG--
extra : rebase_source : a1313ad90cbaefbeb8bce0c34a97e9b10663ca52
2016-04-14 14:27:52 +08:00
Ting-Yu Lin
7379c19c84 Bug 1258657 Part 1 - Change summary default style to "display: list-item" to match html spec. r=bz
Per html spec, the disclosure triangle can be generated via "display:
list-item", I removed the code to generate the triangle in
SummaryFrame::SetInitialChildList(). That is, when a web page set
"display: block" to the summary, the triangle will disappear, too.

Now SummaryFrame does nothing and is going to be removed in Part 2.

Also summary element should not increment the counter as hinted as
"counter-increment: list-item 0" in the spec. Hence the change in
nsBlockFrame::RenumberListsFor().

The rendering hint in html spec:
https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements

MozReview-Commit-ID: DELGYFe3zGX

--HG--
rename : layout/reftests/details-summary/open-summary-block-style.html => layout/reftests/details-summary/open-summary-block-style-ref.html
extra : rebase_source : 4bd5493fb6a1108eea31aef1d89f563f781b753f
2016-04-13 13:34:14 +08:00
Ting-Yu Lin
7b794c38a3 Bug 1259889 Part 2 - Load html.css lazily for pref changes. r=heycam
We need to re-evaluate html.css whenever "dom.details_element.enabled"
is changed to make the disclosure triangle for summary elements show up.
Reftests for details and summary will need the a live pref to work.

MozReview-Commit-ID: 9SN1fQBuwA7

--HG--
extra : rebase_source : c8eafde9d3a97908c44099219603f76087d484b9
2016-04-01 21:11:11 +08:00