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

349 Коммитов

Автор SHA1 Сообщение Дата
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
Xidorn Quan 510a3f68bd Bug 743198 part 7 - Add :fullscreen pseudo class. r=heycam
--HG--
extra : source : 245ce2e3f4f51029f8b70bdbd0ca327385be9cdf
2016-02-17 08:47:11 +08:00
Xidorn Quan ee035ed239 Bug 1064843 part 7 - Add backdrop pseudo-element and add related UA stylesheet. r=heycam
--HG--
extra : source : 79eadc4133fe81da5e01d9abbd0c5b1f95ae8d19
2016-01-28 10:11:00 +11:00
Cameron McCormack b0288cdbb3 Bug 1235969 - Unprefix uses of -moz-transform, -moz-transform-origin and -moz-backface-visibility in UA style sheets. r=xidorn 2015-12-31 19:13:18 +11:00
Xidorn Quan da6771e9a1 Bug 1215365 - Update ua style sheet of fullscreen element. r=heycam
--HG--
extra : source : f604baeef9b46dfc643f8cbc612f9539e5053094
2015-12-31 14:11:36 +11:00
Wes Kocher 341ab24f19 Backed out changeset 8e026b0e24a5 (bug 1215365) for gij failures
--HG--
extra : commitid : 2VjBdNfMdQv
2015-12-28 16:29:30 -08:00
Xidorn Quan e829dc80d0 Bug 1215365 - Update ua style sheet of fullscreen element. r=heycam
--HG--
extra : source : ff9eaa77d71343351c685709573cb408302fac53
2015-12-29 09:48:37 +11:00
Ting-Yu Lin d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin 0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Mats Palmgren 6008c786f7 Bug 1230672 part 3 - Add support for multicol layout on <fieldset> elements. r=bz 2015-12-15 02:51:03 +01:00
Mats Palmgren c6b1fdaba5 Bug 1230672 part 1 - Make '-moz-column-fill:auto' work also when 'overflow' isn't 'visible'. r=bz 2015-12-15 02:51:03 +01:00
Mats Palmgren 028ecc5615 Bug 1230207 - Add support for display:grid/flex layout on <fieldset> elements. r=bz,dholbert 2015-12-15 02:51:02 +01:00
Xidorn Quan 7b1f42e5c6 Bug 1202940 part 2 - Remove layout.css.ruby.enabled pref. r=dbaron
--HG--
extra : source : bb1c73598b74195f9877b189f2e2e19fb1eb0fc0
2015-12-01 09:39:37 +11:00
Mats Palmgren 14b6070460 Bug 1227162 - [css-grid][css-align] Make the scrolled pseudo frame inherit more CSS Align / Grid properties. r=dholbert 2015-11-28 21:37:44 +01:00
L. David Baron cea9d9aa6a Bug 1213587 - Add foreground color to the background color for XML error pages. r=xidorn
--HG--
extra : commitid : FgGIAypbSOP
2015-11-24 07:23:13 -08:00
Mats Palmgren 5c372395c9 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Wes Kocher e14054a1ad Backed out changeset 028619a0e9ae (bug 1224804) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : H6wEF8ruy0H
2015-11-16 11:00:37 -08:00
Mats Palmgren 7763759c02 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Jeremy Chen f59482fa1d Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin
--HG--
extra : rebase_source : 15fdcdf119d30e1e51d98e69a1f229778aa26256
2015-10-19 01:53:00 +02:00
Xidorn Quan af8cf1df88 Bug 1215360 - Render canvas anonymous content on top of the top layer. r=roc
--HG--
extra : source : 231e0e545afaf3bf4993b0f6d20cd60ee734c899
2015-10-19 11:56:13 +11:00
Xidorn Quan 7773a3e41c Bug 1126230 part 8 - Implement painting part for the top layer. r=roc
--HG--
extra : source : 4a61841b92db5baf999a9aee02a9aba4799e3d1b
2015-10-07 14:04:32 +11:00
Xidorn Quan e9db99c05b Bug 1126230 part 4 - Add -moz-top-layer internal CSS property and set it for fullscreen elements. r=dbaron
--HG--
extra : source : 66def85f28a64f87a9bf072754a3146aacb59714
2015-10-07 14:04:32 +11:00
Nigel Babu a47d2e063f Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan 28b8a15504 Bug 1126230 part 3 - Add -moz-top-layer internal CSS property and set it for fullscreen elements. r=dbaron
--HG--
extra : source : 0dfddc30b41b364d41b0be691b9b78eeb6353193
2015-10-02 16:34:09 +10:00
Xidorn Quan 5d040064dc Bug 1201798 part 2 - Update viewport scrollbar override for fullscreen and remove the leagcy css rule. r=roc
--HG--
extra : source : 339b4099bd0fa78b54befdfb55bebfbb98a46c14
2015-09-30 10:48:41 +10:00
Ting-Yu Lin 2a47a562fb Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc
Porting the patch for Touch/SelectionCarets in bug 1021499 to
AccessibleCaret.
2015-05-27 16:37:28 +08:00
Ting-Yu Lin 053054ff69 Bug 1068525 - Ignore zoom level for AccessibleCaret. f=mtseng, r=roc
We want AccessibleCaret be of the same size regardless of the zoom
level. We simply divide the caret's width, height, margin-left, and the
text selection bar's margin-left by current zoom level.

The margin-left of the caret is adjusted from -23px to -23.5px for better
looking.
2015-05-16 00:05:00 +08:00
Ting-Yu Lin 034c5058c3 Bug 1110039 - Part 2.2 - Add AccessibleCaret. r=roc
See AccessibleCaret.h for the class description.

Technical difference between AccessibleCaret and Touch/SelectionCarets:
The anonymous dom element containing a caret image will be created by
AccessibleCaret by using the API landed in bug 1020244 instead of being
created by nsCanvasFrame.
2015-05-04 21:25:00 +02:00
Morris Tseng 6184cd18a5 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc
--HG--
extra : histedit_source : 86209694d0b0704554a3a61d08741d02ea1a57cc
2015-04-15 19:15:00 -04:00
Xidorn Quan 06272c8efd Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam
--HG--
extra : source : 7078930df197d7cf9d7d8b972c57632b4a0cf380
2015-04-08 11:22:34 +12:00
Wes Kocher 74f58c915e Backed out 10 changesets (bug 1141931) for mochitest-5 failures CLOSED TREE
Backed out changeset c90940067de6 (bug 1141931)
Backed out changeset 96b48288abab (bug 1141931)
Backed out changeset 87281c7ded34 (bug 1141931)
Backed out changeset 6a914ba0b8ec (bug 1141931)
Backed out changeset 9cfea55b5e95 (bug 1141931)
Backed out changeset f432612b6475 (bug 1141931)
Backed out changeset 48cf9568a4b1 (bug 1141931)
Backed out changeset f1ab848b3fa6 (bug 1141931)
Backed out changeset 8a3c71a3b525 (bug 1141931)
Backed out changeset 119d3c0fd0f6 (bug 1141931)
2015-04-07 14:23:57 -07:00
Xidorn Quan b4f1b79dcd Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam
--HG--
extra : source : 7078930df197d7cf9d7d8b972c57632b4a0cf380
2015-04-08 08:40:31 +12:00
Ting-Yu Lin a14bf9a83b Bug 1096185 - Part 1 - Adjust caret size and shadow. r=roc
The size of the images is enlarged by 1.5x. The CSS rules in ua.css are
changed accordingly.
2015-02-11 19:55:00 +01:00
Jeremy Chen b81f2619bf Bug 1122805 - v3 Update carets' positions based on coordinates of the root frame. r=roc 2015-02-05 01:36:00 +01:00
Xidorn Quan fdcb33cf1c Bug 1111463 part 2 - Add styles in html.css and ua.css. r=dbaron
--HG--
extra : source : 36266a6c05c5d40c0ebdd97a3935041a8d8f1010
2015-01-12 12:52:19 +11:00
Morris Tseng d0e550df52 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Patrick Brosset 159aa067df Bug 1020244 - Ability to insert AnonymousContent nodes in the canvasFrame via a chrome-only Document API; r=smaug; r=roc; r=ehsan 2014-10-28 11:15:25 +01:00
L. David Baron 977efff305 Bug 1088179 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
I tested locally on a Flame that using this without the ua.css changes
breaks the touch caret (it doesn't appear), but with the ua.css changes
the touch caret appears again.

This was formerly bug 1082899 patch 6.

--HG--
extra : transplant_source : %CA%60%B7%10%AD%01%14%92%98%28o%AA%BF%5E%8F%7BV%AA%24%D5
2014-10-23 14:58:21 -04:00
Ryan VanderMeulen c457a87994 Backed out changeset 1ac58452ef7d (bug 1082899) for test_selectioncarets.py failures. 2014-10-23 13:40:41 -04:00
L. David Baron 9f9351c617 Bug 1082899 patch 6 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
Note that this leaves a few selectors with repeated classes of the form
.moz-touchcaret.moz-touchcaret .   This is intentional, so that these
changes don't change the relative specificity of any of the touch caret
selectors.

I tested locally on a Flame that using this without the ua.css changes
breaks the touch caret (it doesn't appear), but with the ua.css changes
the touch caret appears again.
2014-10-23 12:57:28 -04:00
Robert Longson 1722ba86eb Bug 1073924 - Hovering over links in SVG does not cause cursor to change. r=jwatt 2014-09-29 09:20:22 +01:00
Makoto Kato d8074ed590 Bug 1065261 - SectionCaret might not appears if 2.25dppx or higher. r=mtseng 2014-09-11 15:44:54 +09:00
Ting-Yu Lin aecd542da9 Bug 1054889 - Update images for touch caret and selection carets. r=roc, f=mtseng, ui-r=chuang
Update images provided in bug 1024930, and make touch caret uses the
same images as selection carets.
2014-08-19 01:34:00 -04:00
John Daggett 0e566c376b Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
Ed Morley 5559ec0293 Backed out changeset f4b101378a07 (bug 1021527) by request 2014-08-15 16:14:42 +01:00
Ting-Yu Lin b14245cedc Bug 1016184 - Part 3h: Fix horizontal scroll bar appears. r=roc
The touch caret frame is initialized at (0, 0). When <html> or <body>
has dir="rtl", "margin-left: -15px" (in ua.css) makes the horizontal
scroll bar appear even if the touch caret is invisible.

To compensate this, make width, height, and margin be 0px when the touch
caret is invisible.
2014-07-28 21:40:00 +02:00
Ryan VanderMeulen 908eceaa30 Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Ting-Yu Lin 401d4812df Bug 1016184 - part 3h - Fix horizontal scroll bar appears. r=roc
The touch caret frame is initialized at (0, 0). When <html> or <body>
has dir="rtl", "margin-left: -15px" (in ua.css) makes the horizontal
scroll bar appear even if the touch caret is invisible.

To compensate this, make width, height, and margin be 0px when the touch
caret is invisible.
2014-07-28 21:40:00 +02:00
Susanna Bowen 3f093640d6 Bug 1043706 - Wrap ruby-specific rules in ua.css in a "@supports" clause (to avoid spamming parse errors when ruby is disabled). r=dholbert 2014-07-25 15:53:00 +02:00