Commit Graph

93 Commits

Author SHA1 Message Date
Ting-Yu Lin
97ae5fe39d 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
8948436f30 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
206548e5fb 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
a432f4cf9b Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 -04:00
Xidorn Quan
6983318885 Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam 2015-04-08 11:22:34 +12:00
Wes Kocher
51cbd0f3e5 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
35044d2f1e Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam 2015-04-08 08:40:31 +12:00
Ting-Yu Lin
8014653475 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
fb56ad0713 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
d7e67a75cc 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
ca0f216c74 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Patrick Brosset
695f157138 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
e03bc5f53b 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
c1828c5d8e Backed out changeset 1ac58452ef7d (bug 1082899) for test_selectioncarets.py failures. 2014-10-23 13:40:41 -04:00
L. David Baron
f708b8829c 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
88bb2519fb 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
ea5d044e00 Bug 1065261 - SectionCaret might not appears if 2.25dppx or higher. r=mtseng 2014-09-11 15:44:54 +09:00
Ting-Yu Lin
0fdbd536e5 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
80c7dbced9 Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
Ed Morley
dce86d4a5c Backed out changeset f4b101378a07 (bug 1021527) by request 2014-08-15 16:14:42 +01:00
Ting-Yu Lin
4b3a0f3986 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
94be6c5efa 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
a5df2435b5 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
20969aaf75 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
Susanna Bowen
4d501abc1e Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz 2014-07-22 19:08:08 -07:00
Ting-Yu Lin
c3f651ea76 Bug 1021527 - Fix blurry carets by using svg image. r=roc
* Replace png images with svg images for touch caret and selection
  carets.
* Fix touch caret is enlarged on high resolution device due to
  background-size was not set.
2014-07-14 23:08:00 +02:00
Jonathan Kew
82b5ffa9af bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett 2014-06-05 11:15:26 +01:00
Ed Morley
fb24b98c0e Backed out changeset 70713dd1ee5e (bug 1020143) for B2G reftest failures in counter-suffix.html; CLOSED TREE 2014-06-05 15:47:53 +01:00
Morris Tseng
3b9de473da Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc 2014-06-04 22:58:00 +02:00
Jonathan Kew
8b643764c4 bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett 2014-06-05 11:15:26 +01:00
Phoebe Chang
a76e3e825d Bug 924692 - Part 1: Add touch caret rendering support; r=roc 2014-06-03 15:08:25 +08:00
Xidorn Quan
cb1efcb979 Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov 2014-05-30 09:00:26 +01:00
Jonathan Watt
46e7eec626 Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE 2014-05-24 20:29:11 +01:00
Jonathan Watt
1e31906fbd Bug 1008455 - Avoid loading the xul.css UA style sheet when possible. r=bz CLOSED TREE
--HG--
rename : toolkit/content/xul.css => toolkit/content/minimal-xul.css
2014-05-24 19:51:06 +01:00
Mats Palmgren
c02dccfb46 Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
48ecc0938d Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-22 01:18:24 +00:00
Ehsan Akhgari
8577cd5685 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
577be9658b Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-19 14:14:53 +00:00
Alex Henrie
13975faf63 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Daniel Holbert
33ac0ac009 Bug 948654: Uncomment lines to make 'align-content' and 'flex-wrap' inherit through scroll frames to scrolled flex containers. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-4-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-4.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-5-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-5.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-4-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-4.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-5-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-5.html
2013-12-10 22:31:38 -08:00
Xidorn Quan
98b1f89681 Bug 934072 - Part 1: Support other suffixes in numbered bullet. r=jfkthame 2013-12-02 12:51:25 -05:00
L. David Baron
4b9bce2616 Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .

It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").

The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Masatoshi Kimura
a7b906a433 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Daniel Holbert
efb17f8a4b Bug 782441 part 2: Tweak ua.css to make flex container properties inherit to ::-moz-scrolled-content, so that flex containers with "overflow" set will honor those properties. r=bz 2013-03-22 08:13:49 -07:00
Boris Zbarsky
0f2a047c94 Bug 827799. Apply clip to outer table frames as needed. r=roc 2013-01-15 14:04:24 -05:00
Brendan Dahl
d860d7b308 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Ryan VanderMeulen
8f46b7f654 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl
507304aa6c Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Mats Palmgren
8fc2862b38 Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron 2012-11-08 17:09:37 +01:00
Daniel Holbert
93791d3f3b Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00