OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 | 747 |
748 case PrefixedRequestAnimationFrame: | 748 case PrefixedRequestAnimationFrame: |
749 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; | 749 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; |
750 | 750 |
751 case PrefixedCancelAnimationFrame: | 751 case PrefixedCancelAnimationFrame: |
752 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; | 752 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; |
753 | 753 |
754 case PrefixedCancelRequestAnimationFrame: | 754 case PrefixedCancelRequestAnimationFrame: |
755 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; | 755 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; |
756 | 756 |
757 case DocumentCreateAttributeNS: | |
758 return "'Document.createAttributeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom)."; | |
759 | |
760 case AttributeOwnerElement: | |
761 return "'Attr.ownerElement' is deprecated and has been removed from DOM4
(http://w3.org/tr/dom)."; | |
762 | |
763 case ElementSetAttributeNodeNS: | 757 case ElementSetAttributeNodeNS: |
764 return "'Element.setAttributeNodeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom)."; | 758 return "'Element.setAttributeNodeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom)."; |
765 | 759 |
766 case NodeIteratorDetach: | 760 case NodeIteratorDetach: |
767 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe
c.whatwg.org/#dom-nodeiterator-detach)."; | 761 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe
c.whatwg.org/#dom-nodeiterator-detach)."; |
768 | 762 |
769 case AttrNodeValue: | 763 case AttrNodeValue: |
770 return replacedBy("Attr.nodeValue", "value"); | 764 return replacedBy("Attr.nodeValue", "value"); |
771 | 765 |
772 case AttrTextContent: | 766 case AttrTextContent: |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 858 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
865 { | 859 { |
866 // FIXME: We may want to handle stylesheets that have multiple owners | 860 // FIXME: We may want to handle stylesheets that have multiple owners |
867 // http://crbug.com/242125 | 861 // http://crbug.com/242125 |
868 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 862 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
869 return getFrom(sheetContents->singleOwnerDocument()); | 863 return getFrom(sheetContents->singleOwnerDocument()); |
870 return 0; | 864 return 0; |
871 } | 865 } |
872 | 866 |
873 } // namespace blink | 867 } // namespace blink |
OLD | NEW |