Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
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
Ting-Yu Lin 5a53907dfa Bug 1258177 - Make the list-item markers non-selectable. r=bz
MozReview-Commit-ID: GkkAknIA31t

--HG--
extra : rebase_source : 424b2b2821a158bae15bae7bb07d15ceb274c3fa
2016-03-20 17:26:02 +08:00
malayaleecoder c10c9a9612 Bug 1252368 - Move resource files in layout/style/ into layout/style/res/ directory. r=nalexander
MozReview-Commit-ID: HdF06H2gJYY

--HG--
rename : layout/style/arrow-left.gif => layout/style/res/arrow-left.gif
rename : layout/style/arrow-right.gif => layout/style/res/arrow-right.gif
rename : layout/style/arrow.gif => layout/style/res/arrow.gif
rename : layout/style/arrowd-left.gif => layout/style/res/arrowd-left.gif
rename : layout/style/arrowd-right.gif => layout/style/res/arrowd-right.gif
rename : layout/style/arrowd.gif => layout/style/res/arrowd.gif
rename : layout/style/counterstyles.css => layout/style/res/counterstyles.css
rename : layout/style/forms.css => layout/style/res/forms.css
rename : layout/style/html.css => layout/style/res/html.css
rename : layout/style/noframes.css => layout/style/res/noframes.css
rename : layout/style/noscript.css => layout/style/res/noscript.css
rename : layout/style/number-control.css => layout/style/res/number-control.css
rename : layout/style/plaintext.css => layout/style/res/plaintext.css
rename : layout/style/quirk.css => layout/style/res/quirk.css
rename : layout/style/ua.css => layout/style/res/ua.css
rename : layout/style/viewsource.css => layout/style/res/viewsource.css
extra : rebase_source : c56048e17a72c75a456556ee2111841184a92edf
2016-03-11 00:57:34 +05:30
Ting-Yu Lin 514007237a Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.

MozReview-Commit-ID: 7K7qr9FK784

--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00