Commit Graph

3428 Commits

Author SHA1 Message Date
Cameron McCormack
ccce38c17a No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Paul Rouget
9492494622 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-07-17 05:08:00 +02:00
Mike Conley
ed49047d81 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Markus Stange
a16556961c Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Gijs Kruitbosch
f08c892054 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Matthew Noorenberghe
131a8cc6d6 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
John Daggett
cdffe4d261 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
31c7953287 Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
379b6a82ac Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Max Vujovic
5498d723b7 Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam 2013-07-30 15:38:01 -04:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Gijs Kruitbosch
67f692e20d Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
John Daggett
0ad5eb80ed Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert 2013-08-19 19:26:44 +09:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Dirk Schulze
c25ee40e1c Bug 898361 - Implement parsing for drop-shadow. r=heycam 2013-08-05 17:02:27 +10:00
L. David Baron
0354744354 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Nicholas Cameron
efbfb06759 Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Jonathan Kew
b513ee0613 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
e9df9a17d2 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
0b100bc0d8 bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Ms2ger
48039b419a Backout changeset a58abd7408bf for mochitest and crashtest crashes. 2013-08-04 12:21:17 +02:00
Dirk Schulze
87b8fb4c7c Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam 2013-08-04 18:58:28 +10:00
Cameron McCormack
975a0a23c3 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
5314c1d38c Bug 899886 - Don't return null from nsStyleSet::ReparentStyleContext. r=dbaron 2013-08-03 14:11:05 +10:00
Gijs Kruitbosch
e26df1f85a Merge m-c to UX 2013-07-09 13:09:02 +02:00
Jared Wein
6511b4c7c3 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-07 21:35:26 -04:00
Gijs Kruitbosch
7a7f7e31ae Merge mozilla-central and ux 2013-07-05 00:49:58 +02:00
Jared Wein
cadb3274f1 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-03 12:40:14 -04:00
Ryan VanderMeulen
6c23f16416 Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
01a103a919 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Blake Kaplan
ecf2b59e9a Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Masatoshi Kimura
16ea5c4d5c Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Gijs Kruitbosch
8edc822c01 Merge m-c to ux
--HG--
rename : browser/themes/windows/browser.css => browser/themes/shared/identity-block.inc.css
2013-06-29 11:18:15 -04:00
Gijs Kruitbosch
fe3e9fce5e Merge mozilla-central and ux 2013-06-27 14:24:43 -04:00
John Daggett
2402ca9567 Bug 873222 - check unit-type of font-synthesis value before use. r=dbaron 2013-06-27 14:43:00 +09:00
Cameron McCormack
739e644f3b Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron 2013-06-29 13:28:50 +10:00
Blake Kaplan
2ea3b24b47 Bug 653881 - Add a compatibility hack to allow <xbl:children> elements to be optional when selecting via the child CSS selector. This allows old CSS selectors selecting default content to continue working in the new world. r=dbaron
--HG--
extra : rebase_source : 4d538fcbd8a6b58408dc46835632a4664ba8d0d8
2013-06-28 18:48:13 -07:00
Mina Almasry
92ac0178f1 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 17:28:49 -04:00
Mina Almasry
c62067c22c Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz 2013-07-15 17:28:33 -04:00
Kartikaya Gupta
ac9ef845b6 Bug 840916 - Back out e7d3b0866dd9 from bug 779527 as it is no longer needed. r=mbrubeck 2013-07-15 17:21:16 -04:00
Ed Morley
a8bb0da359 Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE 2013-07-15 16:36:17 +01:00
Mina Almasry
32e79db6d6 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 09:59:57 -04:00
Birunthan Mohanathas
2b61a1f0c4 Bug 264517 - Move the _LAYOUT variant of COMPUTED_STYLE_MAP_ENTRY into a property bit. r=dbaron 2013-09-23 09:28:55 -04:00
Ehsan Akhgari
39c223b372 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Frank Yan
ef930d6fea Bug 880672: Add support for unprefixed cursor:grab and cursor:grabbing. r=bzbarsky sr=dbaron 2013-06-24 00:32:44 -07:00
Birunthan Mohanathas
391c8b716a Bug 906852 - Make layout/style/nsFontFaceLoader.* pointer notation follow layout code style. r=mats 2013-09-25 09:48:20 -04:00
Masayuki Nakano
2f532b885b Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
L. David Baron
c157fded2b Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00
Corey Ford
417fcffdce Bug 829816 - Treat \0 and U+0000 in CSS style sheets as U+FFFD. r=dbaron 2013-06-26 15:17:14 -07:00
Dirk Schulze
835b4ca022 Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam 2013-07-26 16:02:33 +10:00
Simon Sapin
a0a01a0ada Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron 2013-07-25 09:43:29 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Birunthan Mohanathas
5decb7fc60 Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron 2013-07-07 16:23:13 -04:00
Ed Morley
97e3c032bc Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Max Vujovic
cac859d2f2 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
Simon Sapin
d6f3091b8f Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Jonathan Kew
deaf3f5b3a backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Ms2ger
7bf62da840 Backout changeset f2ac3d57b445 for insufficient review. 2013-08-08 19:37:47 +02:00
Masayuki Nakano
e08e2dc2d3 Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron 2013-08-06 23:02:34 +09:00
Daniel Holbert
eac6842696 (no bug) comment-tweak, to explicitly mention a pref name instead of hinting at it. (no review)
DONTBUILD because comment-only change
2013-08-07 15:32:16 -07:00
Robert Longson
31642bafc4 Bug 911310 - Only raise an nsChangeHint_UpdateOverflow for filters. r=dholbert 2013-09-05 09:51:02 +01:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Ehsan Akhgari
65f992afec Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Cameron McCormack
3c1809b4b3 Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr 2013-07-12 16:39:38 +10:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Ed Morley
c4b4fc392d Backed out changeset e27bd873b413 (bug 898361) for crashes on a CLOSED TREE 2013-07-31 16:00:27 +01:00
Dirk Schulze
12b2edf1a1 Bug 898361 - [CSS Filters] Implement parsing for drop-shadow. r=heycam 2013-07-31 09:26:45 -04:00
Jonathan Kew
6051d87ce2 Bug 798843 - Test to check that context-* attribute values are not valid when gfx.font-rendering.opentype_svg.enabled pref is false r=dbaron 2013-05-16 14:35:15 +12:00
Jonathan Kew
3ae2f0561f Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Ryan VanderMeulen
5b3f98f172 Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures. 2013-09-13 11:15:54 -04:00
Jonathan Kew
46b34e7447 Bug 798843 - Test to check that context-* attribute values are not valid when gfx.font-rendering.opentype_svg.enabled pref is false r=dbaron 2013-05-16 14:35:15 +12:00
Jonathan Kew
1bb33a7108 Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
William Chen
1f6764a664 Bug 653881 - Push <xbl:children> in ancestor filter. r=bz,dbaron
--HG--
extra : rebase_source : 9aafffadd2451ca7274e99d7e07d0d71ea52ca02
2013-05-30 17:39:08 -07:00
Birunthan Mohanathas
9b5a5a380f Bug 887502 - Part 2: Refactor Declaration::GetValue for 'margin' and friends. r=dbaron 2013-07-02 08:11:21 -04:00
Birunthan Mohanathas
4e38c33b3f Bug 887502 - Part 1: Coalesce corners rather than repeating when serializing specified values of 'border-radius'. r=dbaron 2013-07-02 08:10:43 -04:00
Gijs Kruitbosch
c246a46f08 Merge from m-c to ux 2013-06-26 10:44:39 -04:00
Jared Wein
20e28337a5 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-21 19:22:56 -04:00
Nicholas Cameron
619ee71fa7 Bug 878142; be more precise about removing the animation manager from the refresh driver. r=dbaron 2013-06-25 20:58:46 +12:00
L. David Baron
5bf449ab35 Bug 858937 patch 2: Make off-main-thread CSS transitions/animations code that should be using nsLayoutUtils::GetStyleFrame do so. r=nrc
The fixes to the miniflush code
(nsTransitionManager::UpdateThrottledStyle and UpdateAllThrottledStyles)
fix the case where we constructed totally incorrect style contexts for
outer table frames (which have special style contexts inheriting from
the table frame) during the miniflush, leading to inconsistent style
data and other bad things, when we should have been touching the style
on the table frame instead.

The fixes to the other OMTA codepaths lead to layer tests being
performed on the same frame that the styles will be applied to, and
probably fix real bugs (which would occur when animating opacity or
transform on a table).
2013-06-24 22:32:10 -07:00
L. David Baron
7ec07e319b Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc 2013-06-24 22:32:10 -07:00
Phil Ringnalda
83b45dda07 Back out 2332bb3fe186:10f70b8b04fe (bug 858937) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:42:05 -07:00
L. David Baron
9e55192f4e Bug 858937 patch 2: Make off-main-thread CSS transitions/animations code that should be using nsLayoutUtils::GetStyleFrame do so. r=nrc
The fixes to the miniflush code
(nsTransitionManager::UpdateThrottledStyle and UpdateAllThrottledStyles)
fix the case where we constructed totally incorrect style contexts for
outer table frames (which have special style contexts inheriting from
the table frame) during the miniflush, leading to inconsistent style
data and other bad things, when we should have been touching the style
on the table frame instead.

The fixes to the other OMTA codepaths lead to layer tests being
performed on the same frame that the styles will be applied to, and
probably fix real bugs (which would occur when animating opacity or
transform on a table).
2013-06-24 22:32:10 -07:00
L. David Baron
8a290dce94 Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc 2013-06-24 22:32:10 -07:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Simon Montagu
2b03440316 Remove superseded workaround, bug 870794, r=roc 2013-06-21 09:26:59 +03:00
Mike Conley
8ea91adc93 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-19 19:17:41 -04:00
L. David Baron
f7a93dd352 Bug 807184 patch 2: Remove support for prefixed -moz-initial (in favor of unprefixed initial). r=dholbert 2013-06-20 18:31:27 -07:00
L. David Baron
44589a7550 Bug 807184 patch 1: Fix uses in tests of prefixed -moz-initial. r=dholbert 2013-06-20 18:31:27 -07:00
Matthew Noorenberghe
1099a1b6a1 Merge mozilla-central to UX 2013-06-17 03:54:34 -07:00
Robert O'Callahan
3fc13110af Bug 880854. Part 2: Support reflows/frame reconstruction in print/print-preview documents by promoting them to frame reconstruction of the whole document. r=mats
--HG--
extra : rebase_source : e81c5cd0f9da7bbcd876669c4b9de46dac825a5d
2013-06-18 23:41:30 +12:00
L. David Baron
a5fd170636 Bug 693496: Fix ABORT by being consistent that canonical form calc() values need not have a percent part. r=dholbert
The additional tests hit the ABORT without the patch and pass with the patch.
2013-06-18 14:31:21 -07:00
Matt Woodrow
9ba484628f Bug 876626 - Make CanAnimateProperty correclty respect the CanAnimate_AllowPartial flag. r=dzbarsky 2013-06-18 20:03:20 +12:00
Nicholas Cameron
2257e14a6b Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron 2013-06-18 14:18:55 +12:00
Jared Wein
7ab8c9f95e Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-13 10:04:45 -04:00
Jared Wein
a6efdbc5ef Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-12 23:12:42 -04:00
Gijs Kruitbosch
df09b2fb41 Merge mozilla-central and ux-central 2013-06-11 22:00:25 +02:00
Gijs Kruitbosch
2f4e26458e Merge mozilla-central and ux-central 2013-06-10 23:22:39 +02:00
Gijs Kruitbosch
272057239a Merge mozilla-central and ux-central 2013-06-10 11:22:16 +02:00
Jon Coppeard
af7d9a0531 Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Gijs Kruitbosch
eec0215ba5 Merge m-c to UX. 2013-06-06 16:57:35 +02:00
Michael Wu
d2b4696cee Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
David Zbarsky
c796a281aa Bug 788549 Part 12: Add tests for async transform transitions r=dbaron 2013-06-04 20:11:56 -07:00
David Zbarsky
c4ea9e18e0 Bug 788549 Part 11: Refactor test_transitions_per_property in prepartion for async tests r=dbaron 2013-06-04 20:11:56 -07:00
Jared Wein
ffd8852eb6 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-05 11:43:23 -04:00
Mike Conley
6c8c4ba349 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-03 17:37:42 -04:00
Nicholas Cameron
28de19f1c1 Bug 880075. Move def of pts in one scope since it is no longer used in the if statement and add comment; r=dbaron 2013-06-12 17:43:17 +12:00
Nicholas Cameron
7077d469bc Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron 2013-06-12 17:39:42 +12:00
Cameron McCormack
a249bbd794 Bug 881339 - Fix bug with descendant selector matching with scoped styles. r=bz 2013-06-12 13:09:33 +10:00
Michael Harrison
f7b0b83f4a Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
L. David Baron
c302bad27c Bug 879255: Refactor fix for bug 613888, step 4: consolidate conditions, and reindent (and fix bracing while doing so). r=nrc 2013-06-05 09:35:52 +09:00
L. David Baron
88008d07b3 Bug 879255: Refactor fix for bug 613888, step 3: move no-change test earlier so that we don't have to clutter conditions between the new location and old with logic to fall through to it. r=nrc 2013-06-05 09:35:52 +09:00
L. David Baron
e6b239e959 Bug 879255: Refactor fix for bug 613888, step 2: consolidate oldPT variable. r=nrc 2013-06-05 09:35:52 +09:00
L. David Baron
96e910cca8 Bug 879255: Refactor fix for bug 613888, step 1: create haveCurrentTransition variable. r=nrc 2013-06-05 09:35:52 +09:00
Jared Wein
fd06f10e47 Bug 879131 - Use prefix-less zoom-in and zoom-out CSS property values. r=ms2ger 2013-06-04 17:41:31 -04:00
Rick Eyre
83c073b612 Bug 772321 - Implement CSS parsing of writing-mode r=dbaron 2013-05-28 12:00:49 -04:00
Matthew Noorenberghe
87139eb2a8 Merge mozilla-central to UX 2013-06-01 02:45:51 -07:00
Mike Conley
77dd7811df Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-29 17:41:40 -04:00
Phil Ringnalda
8e825b148c Merge m-c to a CLOSED TREE ux 2013-05-27 11:48:20 -07:00
Mike Conley
7617561a54 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-27 11:19:45 -04:00
Mike Conley
9f89fd1396 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-24 11:45:45 -04:00
Daniel Holbert
5423d3fe0d Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron 2013-05-24 09:39:03 +08:00
Mike Conley
2a59bbb0d2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-23 09:39:09 -04:00
Jonathan Watt
c44e28a47c Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc 2013-05-24 18:31:33 +01:00
L. David Baron
926f95308f Bug 815408: Ignore CSS transitions and animations in print and print preview. r=bzbarsky
Note that this patch has a little bit of a belt-and-braces aspect to it.
In each file, either one of the changes should be sufficient, but one of
them prevents us from doing unneeded work and the other one ensures that
we never apply style resulting from transitions and animations even if
somehow we do that work.

Also note that the tests don't actually test anything usefully, since
the reftest harness doesn't currently make the pres context non-dynamic.
(Thus they're marked as failing.)  I'm not sure what I should do about
that, though I'm considering just deleting the tests entirely.
2013-05-29 14:36:39 +08:00
L. David Baron
2b20096ae9 Bug 876570: Add missing UngetToken() call in an+b microsyntax parsing. r=bzbarsky 2013-05-29 14:36:39 +08:00
Ehsan Akhgari
5dc60f0aa8 Backed out changeset 831c1928fba9 (bug 875037) for mochitest-1 assertions on a CLOSED TREE 2013-05-24 16:03:03 -04:00
Jonathan Watt
cdd51f042b Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc 2013-05-24 18:31:33 +01:00
Nicholas Cameron
060d253855 No bug - fix incorrect comment on nsStyleAnimation::UncomputeValue r=me 2013-05-24 22:19:28 +08:00
Rick Eyre
3800bbb044 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
L. David Baron
4602c14a98 Bug 757554: Reject uses of reserved 'not', 'only', 'and', and 'or' as a media type. r=heycam 2013-06-17 14:26:08 -07:00
Mike Conley
228be11537 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-21 14:49:59 -04:00
Olli Pettay
f312fce963 Bug 865511, make sure to keep track on the right imgIRequest in ImageLoader, r=khuey
--HG--
extra : rebase_source : 55ac3f73c0c6cb9440e662ffa34ddcd596a61627
2013-05-21 15:43:02 +03:00
Mike Conley
7bd0d6c524 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-20 22:56:50 -04:00
L. David Baron
f038a57cc3 Additional tests for bug 750388. No review. 2013-05-28 12:12:06 +08:00
Thomasy
9d783e15fe Bug 750388: In an+b microsyntax in :nth-child() etc., allow starting with +n and allow comments at all token boundaries rather than requiring the strange tokens that result from lack of comments or spaces. r=dbaron 2013-05-28 12:12:06 +08:00
Boris Zbarsky
decdabaacb Bug 867487. Make sure we don't think we're cloning a complete sheet when we're actually cloning a loading one because the complete sheet was dirty. r=dbaron 2013-05-23 09:20:52 -04:00
Mounir Lamouri
91bfa3c31a Bug 874600 - Make <input type='file'> label colour inherits from the parent's colour. r=bz 2013-05-23 14:09:45 +01:00
David Zbarsky
7c6786d1d2 Bug 788549 Part 1: Throttled animations should not claim that their style rule is up to date r=dbaron, nrc 2013-05-23 16:43:22 +08:00
David Zbarsky
fc0f3597bc Bug 788549 Part 3.5: Make nsComputedDOMStyle::MatrixToCSSValue public so we can actually use it r=me 2013-05-23 16:41:40 +08:00
David Zbarsky
7d2f6a8e24 Bug 788549 Part 3: Refactor nsComputedDOMStyle::DoGetTransform r=dbaron 2013-05-23 15:09:27 +08:00
David Zbarsky
f7abc6a2b2 Bug 788549 Part 2: Remove nsComputedDOMStyle::GetROCSSPrimitiveValue r=dbaron 2013-05-23 15:09:26 +08:00
David Zbarsky
bbfd5fd484 [Bug 875204] Merge OMTA prefs r=nrc 2013-05-23 15:09:26 +08:00
John Daggett
6ef6e22846 Bug 549861 - add missing files from reland patch. r=bustage 2013-05-20 12:47:32 +09:00
John Daggett
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
9d5803279f Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Mike Conley
f2768f6df2 Automated merge with https://hg.mozilla.org/mozilla-central
--HG--
rename : toolkit/content/LightweightThemeConsumer.jsm => toolkit/modules/LightweightThemeConsumer.jsm
2013-05-17 11:48:25 -04:00
Ryan VanderMeulen
600d2857cc Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Cameron McCormack
1cc273c880 Bug 880150 - Treat \<EOF> as U+FFFD outside a string, and drop it inside a string. r=dbaron 2013-06-10 17:04:27 +10:00
John Daggett
9558e43335 Bug 549861. Alias unprefixed versions of font-feature-settings and font-language-override. r=dbaron 2013-05-13 18:45:38 +09:00
John Daggett
5c527e4327 Bug 549861. Changes based on review comments for parsing of font-variant-alternates. r=dbaron 2013-05-13 18:45:38 +09:00
John Daggett
6758cb5e04 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
57964002fe Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
a00ecfde45 Bug 549861. Parse simple font-variant subproperties. r=dbaron 2013-05-13 18:45:36 +09:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Conley
7f9d2174a6 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-15 17:14:08 -04:00
Mike Conley
277b86a80a Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-13 13:04:32 -04:00
L. David Baron
cf6bee7ae2 Bug 511803 patch 2: Convert all eCSSUnit_Function storage to use nsCSSKeyword. This leads to one behavior change, which is case canonicalization for font-variant-alternates function values. r=bzbarsky
--HG--
rename : layout/style/test/test_bug721136.html => layout/style/test/test_specified_value_serialization.html
2013-05-23 09:08:29 +08:00
L. David Baron
59e9a53413 Bug 511803 patch 1: Fix serialization of font-variant-alternates values with more than one function. (Tested in patch 2.) r=jdaggett 2013-05-23 09:08:29 +08:00
Blake Kaplan
a3a6516091 Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Corey Ford
fbf08070fa Bug 883987 - Don't allow BAD_STRING or BAD_URL tokens in @supports conditions. r=dbaron 2013-06-27 17:03:33 -07:00
Mike Conley
bcaa451a1b Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-06 16:55:59 -04:00
Jeff Muizelaar
6d373b1bb7 Bug 868557. Explicitly unalias list in nsStyleContext::AddChild() r=dbaron
Clang and GCC probably MSVC are not able to unalias list because they don't
realize that mEmptyChild and mChild can't alias mNextSibling and mPrevSibling.
If we explicitly dereference list we get better code, saving 3 instructions
with clang.
2013-05-06 11:05:44 -04:00
Jared Wein
b8479c19c3 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-03 09:08:52 -04:00
Mike Conley
98014cbdb5 Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mike Shal
d2b29f4e87 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
f53a29e132 Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Cameron McCormack
b2822eb8cd Bug 876127 - Assert if we do not look at all style structs in nsStyleContext::CalcStyleDifference. r=dbaron 2013-05-27 16:48:19 +10:00
Mounir Lamouri
c1e03641e2 Bug 52500 - Allow styling <input type='file'> like any other form control. r=bz
--HG--
rename : layout/reftests/forms/input-file-width-clip-ref.html => layout/reftests/forms/input/file/input-file-width-clip-ref.html
rename : layout/reftests/forms/input-file-width-clip-1.html => layout/reftests/forms/input/file/input-file-width-clip.html
2013-05-17 18:40:14 +01:00
Jonathan Watt
d8a27f177a Bug 864120 - Use a display list item to create the focus ring for <input type=range>. r=roc 2013-04-22 10:11:56 +01:00
Scott Johnson
fe9e70e605 Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
Jonathan Kew
1a2d045dd7 bug 857089 - backout changeset b85353b6cc38 pending revised UI for the feature 2013-05-01 10:12:41 +01:00
Daniel Holbert
42771dcfef Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz 2013-05-02 14:04:47 -07:00
Stephen Pohl
15b6f78be0 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Aryeh Gregor
91cb3e0c40 Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
L. David Baron
bfbc629361 Bug 882573 patch 4: Make nsHTMLStyleSheet and nsHTMLCSSStyleSheet stop implementing nsIStyleSheet. r=heycam
Note that this removes the Reset method and the mURL and mDocument
members (and arguments to set them) from nsHTMLCSSStyleSheet.

On the other hand, from nsHTMLStyleSheet it only removes mURL (and
equivalent arguments), and nsHTMLStyleSheet keeps the SetOwningDocument
method that was previously part of nsIStyleSheet (but no longer virtual).
2013-06-13 22:34:37 -07:00
L. David Baron
429e3410b2 Bug 882573 patch 3: Stop putting the presentational hint and style attribute style sheets in the style set's list of style sheets; put them only in the list of rule processors. r=heycam 2013-06-13 22:34:37 -07:00
L. David Baron
2348795621 Bug 882573 patch 2: Add a separate DirtyRuleProcessors method to nsStyleSet, and use it from existing methods. r=heycam 2013-06-13 22:34:37 -07:00
Ehsan Akhgari
793a80fdbb Bug 882948 follow-up - Fix the typo that actually breaks the build (not my day...) 2013-06-13 21:40:44 -04:00
Ehsan Akhgari
71a60cb576 Bug 882948 follow-up: Also implement the -moz-windows-theme: aero-lite media query 2013-06-13 20:47:19 -04:00
Ehsan Akhgari
443234c05d Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc 2013-06-13 18:41:26 -04:00
Andrew McCreight
e749b7057e Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron 2013-06-13 15:13:13 -07:00
Sebastian Wong
7053ccd2a5 Bug 563884 - Add styling for the link tag and add reftests. r=bz 2013-05-22 07:58:09 -04:00
David Zbarsky
4b7f63887c Bug 874770 - Always enable OMTA throttling r=nrc 2013-05-22 18:31:03 +08:00
Jonathan Kew
9af24cb77c bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc 2013-05-22 14:42:30 +08:00
Jonathan Kew
ec3bf09cb0 bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc 2013-05-22 12:39:39 +08:00
Daniel Holbert
78739a25c8 Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron 2013-05-22 11:44:52 +08:00
Daniel Holbert
568a0e9c03 Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Trevor Saunders
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
David Zbarsky
b38f05581d Bug 788549 Part 14: Add a test for async opacity animations r=dbaron 2013-06-24 01:09:40 -07:00
David Zbarsky
6453ee5fd6 Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron 2013-06-22 13:35:09 -07:00
Bobby Holley
76cfaf4368 Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz 2013-05-20 11:33:49 -06:00
Blake Kaplan
eb084c4fdd Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv 2013-07-11 17:52:49 -04:00
Jim Mathies
d7fef01251 Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz 2013-07-01 11:02:29 -05:00
Ryan VanderMeulen
cec8d6319b Backed out changesets 0047417b0635 and 5729545971af (bug 887502) for test failures. 2013-07-01 11:18:58 -04:00
Birunthan Mohanathas
c0ac92bcc8 Bug 887502 - Part 2: Refactor Declaration::GetValue for 'margin' and friends. r=dbaron 2013-07-01 09:47:45 -04:00
Birunthan Mohanathas
7558f537ed Bug 887502 - Part 1: Coalesce corners rather than repeating when serializing specified values of 'border-radius'. r=dbaron 2013-07-01 09:47:27 -04:00
Catalin Iacob
088b9fe162 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
Ryan VanderMeulen
0673c28ffd Backed out changesets a06a3cca82e8 and 711d46a1f67e (bug 849399) for frequent Android reftest-2 failures. 2013-06-12 15:23:23 -04:00
Andrew McCreight
515a1cc924 Bug 880862 - nsUserFontSet::Destroy() should clear mRules. r=jdaggett 2013-06-11 15:20:04 -07:00
Ryan VanderMeulen
5eb45c3588 Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange. 2013-07-16 10:45:35 -04:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Simon Sapin
bd5786c9dd Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc 2013-07-16 09:10:58 -04:00
Robert O'Callahan
ba23488638 Bug 868498. Don't reframe for changes between position:static and position:relative. r=heycam 2013-07-16 08:58:52 -04:00
Cameron McCormack
969c21f7eb Bug 873368 - Automatically generate nsStyleStructList.h. r=dbaron,ted 2013-07-16 14:32:25 +10:00
Nathan Froyd
dbba9baf39 Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Nicholas Nethercote
9c0eab254b Bug 831193 (part 14) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in layout/. r=jlebar.
--HG--
extra : rebase_source : 371e32e98e3c36daa5d70c40bace457d7072ddaa
2013-01-17 16:45:12 -08:00
Phil Ringnalda
d3e92cd2f3 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Olli Pettay
56514d79da Bug 848293 - Update AnimationEvent to be compatible with the spec, r=dbaron
--HG--
extra : rebase_source : 04f2cb9c5aa56549da0af3c722b35f3dab5746c3
2013-05-05 16:22:29 +03:00
Ms2ger
651b9b2b24 Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz 2013-05-05 09:03:20 +02:00
Olli Pettay
d8f8f5e50b Bug 848291 - Update TransitionEvent to be compatible with the spec, additional patch for the test, r=dbaron 2013-05-04 18:24:09 +03:00
Olli Pettay
ac44aa8903 Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron 2013-05-04 17:41:20 +03:00
L. David Baron
b436d2b23d Bug 868751: Remove support for obsolete document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent. r=smaug 2013-05-08 13:45:35 -07:00
Mats Palmgren
18e978a375 Bug 867530 - Make the current poison consumers use the new API. r=roc 2013-05-07 20:48:59 +02:00
Ms2ger
8706c8cbac Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Bobby Holley
bea5c24967 Bug 865947 - Force all string event handlers to be evaluated in the content scope. r=jaws,bz 2013-04-29 14:37:36 -07:00
Masatoshi Kimura
edb82c4095 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Boris Zbarsky
f75142b01d Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
7e95d4e275 Bug 799816. Try to not have preload sheets (or other unreferenced sheets) hanging out in our mCompleteSheets hashtable. r=dbaron 2013-04-24 14:59:14 -04:00
Brandon Waterloo
cd040643ae Bug 862117 - Move CSS rule classes relevant to image documents for cursor appearance (zoom in / zoom out) into layout/style/ImageDocument.css. r=roc, r=jaws
This stylesheet applies to all ImageDocuments, including those in frames. In old location for CSS rules, some full themes would not show cursors correctly, nor would ImageDocuments in frames. Image rotation CSS rule classes moved to layout/style/TopLevelImageDocument.css.
2013-04-21 18:29:14 -04:00
Boris Zbarsky
d01105b5e7 Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert 2013-04-18 01:21:46 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Ian Melven
0b6b28c5d7 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Cameron McCormack
9c655c183c Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Phil Ringnalda
5ad98aed12 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Cameron McCormack
5c2a5c6ee4 Bug 872111 - Make test_rule_insertion.html more tolerant to text measurements. r=bz 2013-05-16 13:27:03 +10:00
Edwin Flores
01a69ae836 Bug 798843 - Test to check that context-* attribute values are not valid when gfx.font-rendering.opentype_svg.enabled pref is false r=dbaron 2013-05-16 14:35:15 +12:00
Edwin Flores
a4c230a033 Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron 2013-05-16 14:35:15 +12:00
Bobby Holley
2e60cad213 Bug 871887 - Fix marquee _setEventListener. r=bz 2013-05-15 18:59:53 -07:00
Ian Melven
3cb5f27888 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Boris Zbarsky
7386be95e5 Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam 2013-05-14 14:20:58 -04:00
Ryan VanderMeulen
a7737c8f7f Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
6656d4c597 Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam 2013-05-14 14:20:58 -04:00
Arnaud Sourioux
a57d318afa Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Daniel Holbert
62f493f674 Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz 2013-04-16 08:33:41 -07:00
David Zbarsky
2bfb28139d Bug 788549 Part 6: Remove a redundant if check r=dbaron 2013-05-30 17:45:17 -07:00
Simon Sapin
3d3cc72e20 Bug 875287 - font-family: Do not require whitespace between unquoted idents. r=dbaron
When 'font-family' is secified with unquoted identifiers rather than a quoted string, a single space should be inserted between identifier tokens, even if they are separated by a comment rather than a whitespace token.
2013-05-30 08:10:02 -04:00
L. David Baron
2e4a775e61 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
David Zbarsky
67106717be Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Boris Zbarsky
3db2fdbf6a Bug 876725. Make use of IDL default string values in CSSStyleDeclaration to simplify the code. r=smaug 2013-05-29 16:15:50 -04:00
Arnaud Sourioux
ae5aa58dbc Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Ralph Giles
4780a7622c Bug 875305 - Replace slow webvtt caption selectors with classes. r=bz
We set the class caption-box class on the anonymous div which
acts as the parent container for the captions overlayed on
the video frame.

caption-text isn't currently used, but will be applied to
child elements by when bug 833382 lands.
2013-05-28 13:55:00 -07:00
Masatoshi Kimura
e8e3de45e1 Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen 2013-04-16 21:19:29 +09:00
Mats Palmgren
1e9bd59184 Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc 2013-04-15 22:00:06 +02:00