Commit Graph

3428 Commits

Author SHA1 Message Date
Ehsan Akhgari
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
John Daggett
b9513dce5c Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Mike Conley
b6d48dba3f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-17 20:27:30 -04:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Mike Conley
470f25355d Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-15 10:54:32 -04:00
Matthew Noorenberghe
2c18d0c5dd Merge mozilla-central to UX 2013-08-14 03:18:44 -07:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
L. David Baron
38b264af07 Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam 2013-08-14 21:58:37 -07:00
Mike Conley
9cde798a1f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
John Daggett
04e636e240 Bug 904263 - add tests to assure all properties can be removed. r=dbaron 2013-08-15 09:38:01 +09:00
John Daggett
8ea7ba71b1 Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron 2013-08-15 09:37:57 +09:00
Matthew Noorenberghe
5daefdc625 Merge mozilla-central to UX 2013-08-08 22:56:52 -07:00
Jonathan Kew
9d6d5924e8 bug 879963 - unit tests for redundant downloading of a repeated @font-face resource, and for rendering regressions when multiple rules refer to the same font. r=dbaron,jdaggett 2013-08-12 10:08:00 +01:00
Jonathan Kew
141239e413 bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett 2013-08-12 10:07:55 +01:00
John Daggett
1d703bb0b3 Bug 875250 - add invalid value for text-combine-horizontal. r=dbaron 2013-08-20 17:15:40 +09:00
Gijs Kruitbosch
a6e54ee4b8 Merge m-c to UX 2013-08-07 21:09:10 +02:00
Rik Cabanier
6db63a8c81 Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
bae49d6e2c Merge mozilla-central to UX 2013-08-06 23:06:26 -07:00
Matthew Noorenberghe
7946b0c10c Merge mozilla-central to UX 2013-08-05 23:17:02 -07:00
Gijs Kruitbosch
1ac39936f0 Merge m-c to UX 2013-08-05 11:57:12 +02:00
Gijs Kruitbosch
e5220a0c68 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
ac38824301 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger
d5d5885d4c Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Masayuki Nakano
03e0066f13 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
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Matthew Noorenberghe
3999b2695d Merge mozilla-central to UX 2013-07-31 17:48:12 -07:00
Alexandre BM
3d943e77e4 Bug 905449: Make helper-function signatures in nsStyleAnimation more consistent about coefficient-ordering. r=dholbert 2013-08-16 10:09:48 -07:00
Matthew Noorenberghe
b14d8fd39b Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
John Daggett
cb486cc9ec Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Cameron McCormack
cbfbb6c609 Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
Gijs Kruitbosch
c191dc6dc3 Merge m-c to UX 2013-07-30 20:27:46 +02:00
L. David Baron
066f28abe6 Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion

--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
40c4d9c17c Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext.  SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized.  Anything that's really a dynamic style change, as
these are, should use SetStyleContext.

I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Mike Conley
1c13381de2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Matthew Noorenberghe
4af74607bc Merge mozilla-central to UX 2013-07-26 00:27:14 -07:00
Gijs Kruitbosch
adb8115534 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Dirk Schulze
8dc0ca2307 Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam 2013-08-06 17:53:53 +10:00
Max Vujovic
a0613f3e89 Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron 2013-08-06 17:53:30 +10:00
Gijs Kruitbosch
5afb53dcc3 Merge m-c to ux 2013-07-24 17:44:40 +02:00
Ms2ger
41b81693ad Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Max Vujovic
a3d913c879 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-22 15:08:33 -07:00
Ehsan Akhgari
2d782339fa Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats 2013-08-23 18:15:45 -04:00
Ehsan Akhgari
2faab8bc9e Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Matthew Noorenberghe
de1150b579 Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Gijs Kruitbosch
118088b794 Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch
03e1680427 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
2ded965d7c Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
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