1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec
Javi Martín cad1efc952 Fix invalid HTML generated by AnimationDisabler
The W3C Validator was reporting an error:

> Element style not allowed as child of element body in this context.
>
> Contexts in which element style may be used:
>     Where metadata content is expected.
>     In a noscript element that is a child of a head element.
> Content model for element body:
>     Flow content.

It looks like there can't be any <style> tags inside the <body> element
[1].

The <script> part of the markup template remains at the end of the
<body> element because it only makes sense if jQuery has already been
defined, and jQuery could be defined anywhere inside the <head> or
<body> elements.

[1] https://html.spec.whatwg.org/multipage/semantics.html#the-style-element
2021-09-26 15:54:25 +02:00
..
fixtures Style updates 2021-06-09 22:57:25 -07:00
rspec rubocop config cleanup 2021-03-27 12:48:04 -07:00
basic_node_spec.rb Support HTML5 parsing using Nokogiri >= 1.12.0 2021-08-08 10:57:07 -07:00
capybara_spec.rb Get control of driver/server registrations 2020-05-30 16:29:23 -07:00
css_builder_spec.rb Remove unnecessary instance variables from specs 2019-02-26 09:48:09 -08:00
css_splitter_spec.rb style updates 2018-07-16 15:04:52 -07:00
dsl_spec.rb Flag active element and :focused tests with :active_element rather than :js 2021-08-18 09:41:35 -07:00
filter_set_spec.rb Use described_class in specs 2019-07-15 14:49:21 -07:00
minitest_spec.rb Support filter block with current_path assertions and expectations 2020-10-05 22:59:25 -07:00
minitest_spec_spec.rb Fix Minitest 6 warnings 2019-10-20 20:24:48 -07:00
per_session_config_spec.rb style updates 2018-07-16 15:04:52 -07:00
rack_test_spec.rb Flag active element and :focused tests with :active_element rather than :js 2021-08-18 09:41:35 -07:00
regexp_dissassembler_spec.rb rubocop update 2020-02-19 19:13:08 -08:00
result_spec.rb Drop support for Ruby 2.5.x 2021-03-27 12:23:04 -07:00
rspec_matchers_spec.rb style updates 2018-07-16 15:04:52 -07:00
rspec_spec.rb Style updates 2020-09-05 12:24:43 -07:00
sauce_spec_chrome.rb Add smaller isDisplayed and getAttribute atoms 2019-05-14 14:11:45 -07:00
selector_spec.rb Support regexp for individual class names in class filter 2021-01-23 16:35:44 -08:00
selenium_spec_chrome.rb Remove no longer necessary test guard 2021-07-24 19:58:44 -07:00
selenium_spec_chrome_remote.rb Rubocop driven style updates 2021-07-24 19:53:46 -07:00
selenium_spec_edge.rb EdgeChrome can't click on file inputs 2019-08-02 10:56:09 -07:00
selenium_spec_firefox.rb Use Gem requirements to cleanup some workarounds 2021-01-20 11:37:49 -08:00
selenium_spec_firefox_remote.rb Rubocop driven style updates 2021-07-24 19:53:46 -07:00
selenium_spec_ie.rb rubocop config cleanup 2021-03-27 12:48:04 -07:00
selenium_spec_safari.rb Remove references to non-W3C mode from testing code - it's obsolete and hasn't actually been tested in a while 2021-01-29 18:20:42 -08:00
server_spec.rb Update Server test 2021-01-20 14:58:55 -08:00
session_spec.rb Fix Rubocop Issues 2019-10-15 17:40:27 -07:00
shared_selenium_node.rb Remove references to non-W3C mode from testing code - it's obsolete and hasn't actually been tested in a while 2021-01-29 18:20:42 -08:00
shared_selenium_session.rb Fix invalid HTML generated by AnimationDisabler 2021-09-26 15:54:25 +02:00
spec_helper.rb Update for rubocop 0.84 2020-05-23 12:04:39 -07:00
xpath_builder_spec.rb Remove unnecessary instance variables from specs 2019-02-26 09:48:09 -08:00