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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ElementSetAttributeNodeNS: | 757 case ElementSetAttributeNodeNS: |
758 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)."; |
759 | 759 |
760 case NodeIteratorDetach: | 760 case NodeIteratorDetach: |
761 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)."; |
762 | 762 |
763 case AttrNodeValue: | |
764 return replacedBy("Attr.nodeValue", "value"); | |
765 | |
766 case AttrTextContent: | |
767 return replacedBy("Attr.textContent", "value"); | |
768 | |
769 case NodeIteratorExpandEntityReferences: | 763 case NodeIteratorExpandEntityReferences: |
770 return "'NodeIterator.expandEntityReferences' is deprecated and has been
removed from DOM. It always returns false."; | 764 return "'NodeIterator.expandEntityReferences' is deprecated and has been
removed from DOM. It always returns false."; |
771 | 765 |
772 case TreeWalkerExpandEntityReferences: | 766 case TreeWalkerExpandEntityReferences: |
773 return "'TreeWalker.expandEntityReferences' is deprecated and has been r
emoved from DOM. It always returns false."; | 767 return "'TreeWalker.expandEntityReferences' is deprecated and has been r
emoved from DOM. It always returns false."; |
774 | 768 |
775 case RangeDetach: | 769 case RangeDetach: |
776 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw
g.org/#dom-range-detach)."; | 770 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw
g.org/#dom-range-detach)."; |
777 | 771 |
778 case OverflowChangedEvent: | 772 case OverflowChangedEvent: |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 852 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
859 { | 853 { |
860 // FIXME: We may want to handle stylesheets that have multiple owners | 854 // FIXME: We may want to handle stylesheets that have multiple owners |
861 // http://crbug.com/242125 | 855 // http://crbug.com/242125 |
862 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 856 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
863 return getFrom(sheetContents->singleOwnerDocument()); | 857 return getFrom(sheetContents->singleOwnerDocument()); |
864 return 0; | 858 return 0; |
865 } | 859 } |
866 | 860 |
867 } // namespace blink | 861 } // namespace blink |
OLD | NEW |