Auto merge of #5775 - nox:cssstyledeclaration-float, r=jdm

It just needs to be prefixed by an underscore.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5775)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-04-21 13:33:03 -05:00
commit 7fa1a6a426
2 changed files with 2 additions and 4 deletions

View file

@ -84,7 +84,7 @@ partial interface CSSStyleDeclaration {
[TreatNullAs=EmptyString] attribute DOMString boxShadow;
[TreatNullAs=EmptyString] attribute DOMString textShadow;
//[TreatNullAs=EmptyString] attribute DOMString float; //XXXjdm need BinaryName annotation
[TreatNullAs=EmptyString] attribute DOMString _float;
[TreatNullAs=EmptyString] attribute DOMString clear;

View file

@ -5497,9 +5497,7 @@ macro_rules! css_properties_accessors {
($macro_name: ident) => {
$macro_name! {
% for property in SHORTHANDS + LONGHANDS:
## Servo internal CSS properties are not accessible.
## FIXME: Add BinaryName WebIDL annotation (#4435).
% if property.derived_from is None and property.name != "float":
% if property.derived_from is None:
% if property != LONGHANDS[-1]:
[${property.camel_case}, Set${property.camel_case}, "${property.name}"],
% else: