Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp

Issue 2206793004: Revert of Add grid/flex layout support for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 514
515 if (getNode()->nodeName() == "TIME") 515 if (getNode()->nodeName() == "TIME")
516 return TimeRole; 516 return TimeRole;
517 517
518 if (isEmbeddedObject()) 518 if (isEmbeddedObject())
519 return EmbeddedObjectRole; 519 return EmbeddedObjectRole;
520 520
521 if (isHTMLHRElement(*getNode())) 521 if (isHTMLHRElement(*getNode()))
522 return SplitterRole; 522 return SplitterRole;
523 523
524 if (isFieldset()) {
525 return GroupRole;
526 }
527
528 return UnknownRole; 524 return UnknownRole;
529 } 525 }
530 526
531 AccessibilityRole AXNodeObject::determineAccessibilityRole() 527 AccessibilityRole AXNodeObject::determineAccessibilityRole()
532 { 528 {
533 if (!getNode()) 529 if (!getNode())
534 return UnknownRole; 530 return UnknownRole;
535 531
536 if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) 532 if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole)
537 return m_ariaRole; 533 return m_ariaRole;
(...skipping 2306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2844 return placeholder; 2840 return placeholder;
2845 } 2841 }
2846 2842
2847 DEFINE_TRACE(AXNodeObject) 2843 DEFINE_TRACE(AXNodeObject)
2848 { 2844 {
2849 visitor->trace(m_node); 2845 visitor->trace(m_node);
2850 AXObject::trace(visitor); 2846 AXObject::trace(visitor);
2851 } 2847 }
2852 2848
2853 } // namespace blink 2849 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698