gecko/layout/style
Jim Blandy b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
..
crashtests Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj 2014-06-25 09:42:18 +09:00
test Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
xbl-marquee Bug 1005552 - Stop binding marquee event handlers. r=bz 2014-05-16 10:56:41 -07:00
AnimationCommon.cpp Bug 1029370 part 1 - Move active duration calculation to GetComputedTimingAt; r=dholbert 2014-06-25 09:42:19 +09:00
AnimationCommon.h Bug 1029370 part 3 - Add a comment explaining the relationship between ComputedTiming and GetComputedTimingAt; r=dholbert 2014-06-25 09:42:19 +09:00
arrow.gif
arrowd.gif
contenteditable.css
CounterStyleManager.cpp Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
CounterStyleManager.h Bug 1027251 - Fix or whitelist dangerous public destructors in layout/ - r=dbaron 2014-06-18 22:28:59 -04:00
counterstyles.css Bug 985825 - Unprefix -moz-ethiopic-numeric. r=jfkthame 2014-06-13 17:37:00 +02:00
CSS.cpp Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
CSS.h Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
CSSCalc.h
CSSRuleList.cpp Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
CSSRuleList.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
CSSStyleSheet.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
CSSStyleSheet.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
CSSValue.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
CSSVariableDeclarations.cpp
CSSVariableDeclarations.h Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
CSSVariableResolver.cpp
CSSVariableResolver.h Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
CSSVariableValues.cpp
CSSVariableValues.h Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
Declaration.cpp Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Declaration.h Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
designmode.css
ErrorReporter.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
ErrorReporter.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
forms.css Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
full-screen-override.css
generate-stylestructlist.py
GroupRule.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
html.css Bug 865407 - Part 9: Remove border-box and padding CSS on the caption overlay. r=rillian 2014-02-21 22:14:22 -05:00
ImageDocument.css
ImageLoader.cpp
ImageLoader.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
ImportRule.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
jar.mn Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Loader.cpp Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
Loader.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
Makefile.in
MediaQueryList.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
MediaQueryList.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
moz.build Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
NameSpaceRule.h Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
nsAnimationManager.cpp Bug 1029370 part 1 - Move active duration calculation to GetComputedTimingAt; r=dholbert 2014-06-25 09:42:19 +09:00
nsAnimationManager.h Bug 1026302 part 4 - Remove ElementAnimations; r=dbaron 2014-06-24 15:29:53 +09:00
nsComputedDOMStyle.cpp Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsComputedDOMStyle.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsComputedDOMStylePropertyList.h Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
nsCSSAnonBoxes.cpp
nsCSSAnonBoxes.h
nsCSSAnonBoxList.h Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert 2014-05-03 13:42:33 +00:00
nsCSSCounterDescList.h Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
nsCSSDataBlock.cpp Bug 950436 - Store ImageValues that resulted from re-parsing a nsCSSValueTokenStream on that object. r=dbaron 2014-03-18 20:11:14 +11:00
nsCSSDataBlock.h
nsCSSFontDescList.h
nsCSSKeywordList.h Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
nsCSSKeywords.cpp
nsCSSKeywords.h
nsCSSParser.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSParser.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSPropAliasList.h
nsCSSProperty.h Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
nsCSSPropertySet.h
nsCSSPropList.h Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
nsCSSProps.cpp Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
nsCSSProps.h Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron 2014-06-24 15:29:54 +09:00
nsCSSPseudoClasses.cpp
nsCSSPseudoClasses.h
nsCSSPseudoClassList.h
nsCSSPseudoElementList.h Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc 2014-04-24 21:30:00 +02:00
nsCSSPseudoElements.cpp
nsCSSPseudoElements.h
nsCSSRuleProcessor.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSRuleProcessor.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsCSSRules.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSRules.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsCSSScanner.cpp Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
nsCSSScanner.h Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert 2014-03-10 15:54:14 -07:00
nsCSSValue.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSValue.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsDOMCSSAttrDeclaration.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSAttrDeclaration.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSDeclaration.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsDOMCSSDeclaration.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsDOMCSSRect.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSRect.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSRGBColor.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSRGBColor.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSValueList.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSValueList.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsFontFaceLoader.cpp Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley 2014-06-03 13:37:46 -07:00
nsFontFaceLoader.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsHTMLCSSStyleSheet.cpp Bug 1016345 - Add memory reporting for nsHTMLCSSStyleSheet's nsDataHashtable's buffer and the buffers of its nsString keys. r=dbaron 2014-06-22 23:02:05 +01:00
nsHTMLCSSStyleSheet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsHTMLStyleSheet.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
nsHTMLStyleSheet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsICSSDeclaration.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsICSSLoaderObserver.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsICSSPseudoComparator.h
nsICSSStyleRuleDOMWrapper.h
nsIMediaList.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsIStyleRule.h
nsIStyleRuleProcessor.h Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug 2014-04-03 13:18:36 +09:00
nsIStyleSheet.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsLayoutStylesheetCache.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsLayoutStylesheetCache.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsMediaFeatures.cpp Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
nsMediaFeatures.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsNthIndexCache.cpp Bug 737976: Remove nsINodeInfo. r=smaug 2014-06-19 19:01:40 -07:00
nsNthIndexCache.h
nsROCSSPrimitiveValue.cpp Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
nsROCSSPrimitiveValue.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsRuleData.cpp
nsRuleData.h
nsRuleNode.cpp Bug 576435 - Use the clamping variant of NSToCoordRound to avoid rounding nscoord_MAX. r=roc 2014-06-24 15:47:02 +12:00
nsRuleNode.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsRuleProcessorData.h Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats 2014-06-16 09:55:00 -04:00
nsRuleWalker.h
nsStyleConsts.h Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
nsStyleContext.cpp Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleContext.h Bug 1029180: Give nsStyleContext a private destructor & MOZ_FINAL, to make it less likely to be freed by anything other than refcounting. r=heycam 2014-06-24 11:00:57 -07:00
nsStyleCoord.cpp Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsStyleCoord.h Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsStyleSet.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsStyleSet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsStyleStruct.cpp Bug 1026344 - Part 1: Don't use memcpy to copy style structs. r=dbaron 2014-06-19 13:17:10 +10:00
nsStyleStruct.h Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsStyleStructFwd.h
nsStyleStructInlines.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsStyleTransformMatrix.cpp Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleTransformMatrix.h Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleUtil.cpp Bug 280443 p4 - properly escape unquoted font family names. r=heycam 2014-06-06 15:09:24 +09:00
nsStyleUtil.h Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
nsTransitionManager.cpp Bug 1029370 part 2 - Make nsTransitionManager::FlushTransitions reuse GetComputedTimingAt; r=dholbert 2014-06-25 09:42:19 +09:00
nsTransitionManager.h Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron 2014-06-24 15:29:54 +09:00
number-control.css Bug 971955 - Make overflow-clip-box:content-box the default for all <input> @type values except type=file/button/reset/submit. r=roc 2014-03-06 10:03:38 +00:00
plaintext.css
quirk.css Bug 977248: Remove quirk.css rule that selects on an attribute that was only set by the old HTML parser. r=mrbkap 2014-02-26 23:00:13 -08:00
Rule.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
StyleAnimationValue.cpp Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
StyleAnimationValue.h Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
StyleRule.cpp Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
StyleRule.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
TopLevelImageDocument.css
TopLevelVideoDocument.css
ua.css bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett 2014-06-05 11:15:26 +01:00
viewsource.css